#474E03#474E03

#474E03 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.4% C 0.090 H 115.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#474E03
RGBrgb(71, 78, 3)
HSLhsl(66, 93%, 16%)
HSVhsv(66, 96%, 31%)
CMYKcmyk(9%, 0%, 96.2%, 69.4%)
CIE-LABlab(31.34, -12.54, 38.16)
CIE-LCHlch(31.34, 40.17, 108.19°)
OKLaboklab(40.38% -0.0389 0.0814)
OKLCHoklch(40.38% 0.09 115.6)
XYZxyz(5.3395, 6.7950, 1.1164)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E03 #0A034E
analogous
#4E2F03 #474E03 #214E03
triadic
#474E03 #03474E #4E0347
tetradic
#474E03 #034E2F #0A034E #4E0321
square
#474E03 #034E2F #0A034E #4E0321
split-complementary
#474E03 #03214E #2F034E
monochromatic
#1B1D01 #1B1D01 #474E03 #7D8905 #B2C408

Accessibility & contrast

On white

8.90
#474E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#474E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E03
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E03#FFFFFF#000000##FFFFFF
##474E031.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544A0B
Tritanopia (blue-blind)
#4C4941
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e03;
/* rgb */ color: rgb(71, 78, 3);
/* oklch */ color: oklch(40.4% 0.090 115.6);
Tailwind
colors: {
  custom: {
    50: '#7d7f4d',
    500: '#474e03',
    950: '#000000',
  },
}
SCSS
$custom: #474e03;
$custom-light: #7d7f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#474e03",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 65.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.0902,
    "h": 115.6
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#474E03
secondary
#291E8E
accent
#29FF3D
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474E03

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

Preview Lab → · Contrast checker → · Palette generator →

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