#474B08#474B08

#474B08 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.6% C 0.084 H 113.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#474B08
RGBrgb(71, 75, 8)
HSLhsl(64, 81%, 16%)
HSVhsv(64, 89%, 29%)
CMYKcmyk(5.3%, 0%, 89.3%, 70.6%)
CIE-LABlab(30.37, -10.58, 35.56)
CIE-LCHlch(30.37, 37.10, 106.57°)
OKLaboklab(39.62% -0.0331 0.077)
OKLCHoklch(39.62% 0.084 113.3)
XYZxyz(5.1586, 6.3894, 1.1912)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B08 #0C084B
analogous
#4B2E08 #474B08 #264B08
triadic
#474B08 #08474B #4B0847
tetradic
#474B08 #084B2E #0C084B #4B0826
square
#474B08 #084B2E #0C084B #4B0826
split-complementary
#474B08 #08264B #2E084B
monochromatic
#1A1C03 #1A1C03 #474B08 #7B820E #B0BA14

Accessibility & contrast

On white

9.22
#474B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#474B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B08
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B08#FFFFFF#000000##FFFFFF
##474B081.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#4D463F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474b08;
/* rgb */ color: rgb(71, 75, 8);
/* oklch */ color: oklch(39.6% 0.084 113.3);
Tailwind
colors: {
  custom: {
    50: '#7d7d4f',
    500: '#474b08',
    950: '#000000',
  },
}
SCSS
$custom: #474b08;
$custom-light: #7d7d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#474b08",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 8
  },
  "hsl": {
    "h": 63.582,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.0838,
    "h": 113.3
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#474B08
secondary
#2C2689
accent
#31F73D
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474B08

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

Preview Lab → · Contrast checker → · Palette generator →

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