#555D12#555D12

#555D12 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.095 H 115.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#555D12
RGBrgb(85, 93, 18)
HSLhsl(66, 68%, 22%)
HSVhsv(66, 81%, 36%)
CMYKcmyk(8.6%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.49, -13.55, 38.97)
CIE-LCHlch(37.49, 41.26, 109.17°)
OKLaboklab(45.65% -0.0412 0.0857)
OKLCHoklch(45.65% 0.095 115.7)
XYZxyz(7.7701, 9.8038, 2.0552)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555D12 #1A125D
analogous
#5D4012 #555D12 #305D12
triadic
#555D12 #12555D #5D1255
tetradic
#555D12 #125D40 #1A125D #5D1230
square
#555D12 #125D40 #1A125D #5D1230
split-complementary
#555D12 #12305D #40125D
monochromatic
#171A05 #262A08 #555D12 #84901C #B3C426

Accessibility & contrast

On white

7.09
#555D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#555D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555D12
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555D12#FFFFFF#000000##FFFFFF
##555D121.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#5B574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #555d12;
/* rgb */ color: rgb(85, 93, 18);
/* oklch */ color: oklch(45.6% 0.095 115.7);
Tailwind
colors: {
  custom: {
    50: '#888a57',
    500: '#555d12',
    950: '#000000',
  },
}
SCSS
$custom: #555d12;
$custom-light: #888a57;
$custom-dark: #000000;
JSON
{
  "hex": "#555d12",
  "rgb": {
    "r": 85,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 66.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.09513,
    "h": 115.7
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#555D12
secondary
#403595
accent
#3DEA50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #555D12

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

Preview Lab → · Contrast checker → · Palette generator →

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