#474D12#474D12

#474D12 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.080 H 115.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#474D12
RGBrgb(71, 77, 18)
HSLhsl(66, 62%, 19%)
HSVhsv(66, 77%, 30%)
CMYKcmyk(7.8%, 0%, 76.6%, 69.8%)
CIE-LABlab(31.09, -11.23, 32.40)
CIE-LCHlch(31.09, 34.29, 109.11°)
OKLaboklab(40.21% -0.0339 0.0724)
OKLCHoklch(40.21% 0.08 115.1)
XYZxyz(5.3617, 6.6911, 1.5812)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D12 #18124D
analogous
#4D3512 #474D12 #294D12
triadic
#474D12 #12474D #4D1247
tetradic
#474D12 #124D35 #18124D #4D1229
square
#474D12 #124D35 #18124D #4D1229
split-complementary
#474D12 #12294D #35124D
monochromatic
#171906 #191B06 #474D12 #757F1E #A2B029

Accessibility & contrast

On white

8.98
#474D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#474D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D12
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D12#FFFFFF#000000##FFFFFF
##474D121.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#4C4841
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d12;
/* rgb */ color: rgb(71, 77, 18);
/* oklch */ color: oklch(40.2% 0.080 115.1);
Tailwind
colors: {
  custom: {
    50: '#7c7e54',
    500: '#474d12',
    950: '#000000',
  },
}
SCSS
$custom: #474d12;
$custom-light: #7c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#474d12",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 66.102,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.07991,
    "h": 115.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#474D12
secondary
#3D3586
accent
#43E553
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D12

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

Preview Lab → · Contrast checker → · Palette generator →

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