#474E07#474E07

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

Color values

HEX#474E07
RGBrgb(71, 78, 7)
HSLhsl(66, 84%, 17%)
HSVhsv(66, 91%, 31%)
CMYKcmyk(9%, 0%, 91%, 69.4%)
CIE-LABlab(31.36, -12.36, 36.75)
CIE-LCHlch(31.36, 38.77, 108.59°)
OKLaboklab(40.4% -0.0381 0.0793)
OKLCHoklch(40.4% 0.088 115.7)
XYZxyz(5.3614, 6.8038, 1.2318)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E07 #0E074E
analogous
#4E3207 #474E07 #244E07
triadic
#474E07 #07474E #4E0747
tetradic
#474E07 #074E32 #0E074E #4E0724
square
#474E07 #074E32 #0E074E #4E0724
split-complementary
#474E07 #07244E #32074E
monochromatic
#1A1C03 #1A1C03 #474E07 #7A860C #ADBE11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474E07#FFFFFF#000000##FFFFFF
##474E071.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)
#544A0F
Tritanopia (blue-blind)
#4C4941
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e07;
/* rgb */ color: rgb(71, 78, 7);
/* oklch */ color: oklch(40.4% 0.088 115.7);
Tailwind
colors: {
  custom: {
    50: '#7d7f4f',
    500: '#474e07',
    950: '#000000',
  },
}
SCSS
$custom: #474e07;
$custom-light: #7d7f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#474e07",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 65.915,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.088,
    "h": 115.7
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#474E07
secondary
#2F258C
accent
#2EFA42
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #474E07

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

Preview Lab → · Contrast checker → · Palette generator →

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