#404B08#404B08

#404B08 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.0% C 0.087 H 119.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#404B08
RGBrgb(64, 75, 8)
HSLhsl(70, 81%, 16%)
HSVhsv(70, 89%, 29%)
CMYKcmyk(14.7%, 0%, 89.3%, 70.6%)
CIE-LABlab(29.76, -14.06, 34.79)
CIE-LCHlch(29.76, 37.52, 112.01°)
OKLaboklab(38.97% -0.0423 0.0757)
OKLCHoklch(38.97% 0.087 119.2)
XYZxyz(4.6744, 6.1397, 1.1685)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B08 #13084B
analogous
#4B3508 #404B08 #1F4B08
triadic
#404B08 #08404B #4B0840
tetradic
#404B08 #084B35 #13084B #4B081F
square
#404B08 #084B35 #13084B #4B081F
split-complementary
#404B08 #081F4B #35084B
monochromatic
#181C03 #181C03 #404B08 #6F820E #9EBA14

Accessibility & contrast

On white

9.43
#404B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#404B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B08
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B08#FFFFFF#000000##FFFFFF
##404B081.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4F460F
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404b08;
/* rgb */ color: rgb(64, 75, 8);
/* oklch */ color: oklch(39.0% 0.087 119.2);
Tailwind
colors: {
  custom: {
    50: '#777d4f',
    500: '#404b08',
    950: '#000000',
  },
}
SCSS
$custom: #404b08;
$custom-light: #777d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#404b08",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 8
  },
  "hsl": {
    "h": 69.851,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.08665,
    "h": 119.2
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#404B08
secondary
#362689
accent
#31F751
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404B08

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

Preview Lab → · Contrast checker → · Palette generator →

#404B08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva