#474A08#474A08

#474A08 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.4% C 0.083 H 112.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#474A08
RGBrgb(71, 74, 8)
HSLhsl(63, 80%, 16%)
HSVhsv(63, 89%, 29%)
CMYKcmyk(4.1%, 0%, 89.2%, 71%)
CIE-LABlab(30.05, -10.00, 35.27)
CIE-LCHlch(30.05, 36.66, 105.82°)
OKLaboklab(39.35% -0.0315 0.0764)
OKLCHoklch(39.35% 0.083 112.4)
XYZxyz(5.0913, 6.2548, 1.1688)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A08 #0B084A
analogous
#4A2C08 #474A08 #264A08
triadic
#474A08 #08474A #4A0847
tetradic
#474A08 #084A2C #0B084A #4A0826
square
#474A08 #084A2C #0B084A #4A0826
split-complementary
#474A08 #08264A #2C084A
monochromatic
#1A1C03 #1A1C03 #474A08 #7C810E #B1B814

Accessibility & contrast

On white

9.33
#474A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#474A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A08
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A08#FFFFFF#000000##FFFFFF
##474A081.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#51470E
Tritanopia (blue-blind)
#4D453E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a08;
/* rgb */ color: rgb(71, 74, 8);
/* oklch */ color: oklch(39.4% 0.083 112.4);
Tailwind
colors: {
  custom: {
    50: '#7d7c4f',
    500: '#474a08',
    950: '#000000',
  },
}
SCSS
$custom: #474a08;
$custom-light: #7d7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#474a08",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 8
  },
  "hsl": {
    "h": 62.727,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.08261,
    "h": 112.4
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#474A08
secondary
#2A2688
accent
#31F73A
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474A08

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

Preview Lab → · Contrast checker → · Palette generator →

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