#474C12#474C12

#474C12 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 39.9% C 0.079 H 114.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#474C12
RGBrgb(71, 76, 18)
HSLhsl(65, 62%, 18%)
HSVhsv(65, 76%, 30%)
CMYKcmyk(6.6%, 0%, 76.3%, 70.2%)
CIE-LABlab(30.76, -10.64, 32.07)
CIE-LCHlch(30.76, 33.79, 108.36°)
OKLaboklab(39.95% -0.0323 0.0717)
OKLCHoklch(39.95% 0.079 114.2)
XYZxyz(5.2923, 6.5522, 1.5581)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C12 #17124C
analogous
#4C3412 #474C12 #2A4C12
triadic
#474C12 #12474C #4C1247
tetradic
#474C12 #124C34 #17124C #4C122A
square
#474C12 #124C34 #17124C #4C122A
split-complementary
#474C12 #122A4C #34124C
monochromatic
#171906 #191B06 #474C12 #757D1E #A3AF29

Accessibility & contrast

On white

9.09
#474C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#474C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474C12
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C12#FFFFFF#000000##FFFFFF
##474C121.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#4C4741
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c12;
/* rgb */ color: rgb(71, 76, 18);
/* oklch */ color: oklch(39.9% 0.079 114.2);
Tailwind
colors: {
  custom: {
    50: '#7c7d54',
    500: '#474c12',
    950: '#000000',
  },
}
SCSS
$custom: #474c12;
$custom-light: #7c7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#474c12",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 65.172,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.07861,
    "h": 114.2
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#474C12
secondary
#3C3585
accent
#43E551
background
#F7F7F5
surface
#EEEEE8
border
#C9C9C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474C12

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

Preview Lab → · Contrast checker → · Palette generator →

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