#474F0B#474F0B

#474F0B is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.7% C 0.087 H 116.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#474F0B
RGBrgb(71, 79, 11)
HSLhsl(67, 76%, 18%)
HSVhsv(67, 86%, 31%)
CMYKcmyk(10.1%, 0%, 86.1%, 69%)
CIE-LABlab(31.71, -12.76, 35.71)
CIE-LCHlch(31.71, 37.93, 109.66°)
OKLaboklab(40.69% -0.0388 0.078)
OKLCHoklch(40.69% 0.087 116.5)
XYZxyz(5.4551, 6.9558, 1.3718)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F0B #130B4F
analogous
#4F350B #474F0B #254F0B
triadic
#474F0B #0B474F #4F0B47
tetradic
#474F0B #0B4F35 #130B4F #4F0B25
square
#474F0B #0B4F35 #130B4F #4F0B25
split-complementary
#474F0B #0B254F #350B4F
monochromatic
#181B04 #181B04 #474F0B #778512 #A8BA1A

Accessibility & contrast

On white

8.78
#474F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#474F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F0B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F0B#FFFFFF#000000##FFFFFF
##474F0B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#544B12
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f0b;
/* rgb */ color: rgb(71, 79, 11);
/* oklch */ color: oklch(40.7% 0.087 116.5);
Tailwind
colors: {
  custom: {
    50: '#7d8051',
    500: '#474f0b',
    950: '#000000',
  },
}
SCSS
$custom: #474f0b;
$custom-light: #7d8051;
$custom-dark: #000000;
JSON
{
  "hex": "#474f0b",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 67.059,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.08711,
    "h": 116.5
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#474F0B
secondary
#362B8B
accent
#36F24C
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474F0B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#474F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva