RAL Classic color

RAL 7037 Dusty grey #7D8471

RAL 7037 Dusty grey is shown here as #7D8471, a widely published sRGB approximation of the printed swatch. It is a grayish yellow in the neutral family. In OKLCH it sits at lightness 0.602, chroma 0.029 and hue 123.8°. The nearest CSS named color is gray (#808080), ΔE2000 10.2 away.

Relative luminance
0.2205
OKLCH L · C · h
0.602 · 0.029 · 123.8
Best text
Black 5.41:1
Hue family
Neutral

#7D8471 color codes

HEX
#7D8471
RGB
rgb(125, 132, 113)
HSL
hsl(82, 8%, 48%)
OKLCH
oklch(0.602 0.029 123.8)
OKLab
oklab(0.602 -0.016 0.024)
CIELAB (D65)
L* 54.09, a* -6.25, b* 9.39
XYZ (D65)
X 19.69, Y 22.05, Z 18.84
CMYK (naive)
cmyk(5%, 0%, 14%, 48%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #7D8471 accessible?

Black text on it reaches 5.41:1, passing AA. White text manages only 3.88:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    5.41:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +37
  • White text on it

    3.88:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −71
  • As text on black

    5.41:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −35
  • As text on white

    3.88:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +66

Nearest versions that pass 4.5:1

  • For text on white

    #717865 4.58:1

    Darkening its OKLCH lightness from 0.60 to 0.56 reaches 4.58:1 on white, keeping the hue.

  • For text on black

    #7D8471 5.41:1

    It already reaches 5.41:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #7D8471 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #7D8471

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #7D8471 sits at step 500.

  1. 50#F2F8E7
    White
    1.08
    Black
    19.35
  2. 100#E8EEDD
    White
    1.18
    Black
    17.70
  3. 200#D4DBC8
    White
    1.42
    Black
    14.76
  4. 300#BAC1AE
    White
    1.85
    Black
    11.32
  5. 400#9EA591
    White
    2.54
    Black
    8.24
  6. 500This color#7D8471
    White
    3.88
    Black
    5.41
  7. 600#6B725F
    White
    5.00
    Black
    4.19
  8. 700#555B4A
    White
    7.04
    Black
    2.98
  9. 800#3D4233
    White
    10.36
    Black
    2.02
  10. 900#262B1E
    White
    14.51
    Black
    1.44
  11. 950#14180D
    White
    18.00
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #7D8471 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.149; #7D8471 uses 20% of it. Display P3, which many recent phones and laptops show, reaches 0.174 there: 17% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.029
sRGB edge
0.149
Display P3 edge
0.174
Rec. 2020 edge
0.180
Dominant wavelength
565 nm
Excitation purity
13%
Chromaticity
x 0.3250, y 0.3640
  • This color#7D8471
  • Most vivid in sRGB#6F8E00
  • Most vivid in Display P3oklch(0.602 0.174 123.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #7d8471;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4535 0.5608 0); }
}

Mixing

Mixing #7D8471

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#BEC2B8
  • OKLab50%#BCC0B6
  • OKLCH50%#BCC0B6

Black #000000

  • sRGB50%#3F4239
  • OKLab50%#2C2F27
  • OKLCH50%#2C2F27

Its complement #847D8F

  • sRGB50%#818180
  • OKLab50%#808180
  • OKLCH50%#6E868B
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #7d8471, white);
color: color-mix(in oklch, #7d8471 50%, white);

In use

#7D8471 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.41:1 Passes
  • Link and body-size textText, 4.5:13.88:1 Fails
  • Large headingLarge text, 3:13.88:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.88:1 Passes

For text on this page, the nearest shade that passes is #717865 4.58:1

Dark page

  • Button labelText, 4.5:15.41:1 Passes
  • Link and body-size textText, 4.5:14.82:1 Passes
  • Large headingLarge text, 3:14.82:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.82:1 Passes

Color vision

How #7D8471 looks with color blindness

Achromatopsia changes it most, ΔE2000 10.2; deuteranopia changes it least, 5.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #868170 ΔE2000 6.1

    Noticeable

    Reads as grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #858172 ΔE2000 5.9

    Noticeable

    Reads as grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #7E827F ΔE2000 7.7

    Noticeable

    Reads as gray

  • Achromatopsia

    No cone color vision; lightness only

    #818181 ΔE2000 10.2

    Distinct

    Reads as gray

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #7D8471

Its complement is #847D8F, a grayish violet.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#7D8471
  • Complement#847D8F

Complementary

Open in Harmony Studio
  • −30°#86816D
  • Base#7D8471
  • +30°#748679
  • Base#7D8471
  • +120°#728391
  • +240°#917A7F
  • Base#7D8471
  • +150°#7B8093
  • +210°#8C7B88

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-7037: #7d8471;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-7037': '#7d8471',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-7037: oklch(0.602 0.029 123.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-7037": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4902, 0.5176, 0.4431],
        "hex": "#7d8471"
      },
      "$description": "RAL 7037 Dusty grey (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral7037 = Color(.sRGB, red: 0.490, green: 0.518, blue: 0.443, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral7037 = Color(0xFF7D8471)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #7D8471 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.