#555D17#555D17

#555D17 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.7% C 0.092 H 115.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#555D17
RGBrgb(85, 93, 23)
HSLhsl(67, 60%, 23%)
HSVhsv(67, 75%, 36%)
CMYKcmyk(8.6%, 0%, 75.3%, 63.5%)
CIE-LABlab(37.52, -13.27, 37.03)
CIE-LCHlch(37.52, 39.34, 109.71°)
OKLaboklab(45.68% -0.0399 0.0826)
OKLCHoklch(45.68% 0.092 115.8)
XYZxyz(7.8155, 9.8220, 2.2946)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555D17 #1F175D
analogous
#5D4217 #555D17 #325D17
triadic
#555D17 #17555D #5D1755
tetradic
#555D17 #175D42 #1F175D #5D1732
square
#555D17 #175D42 #1F175D #5D1732
split-complementary
#555D17 #17325D #42175D
monochromatic
#161906 #282C0B #555D17 #828E23 #AFBF2F

Accessibility & contrast

On white

7.08
#555D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #555D17
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555D17#FFFFFF#000000##FFFFFF
##555D171.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#5B574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #555d17;
/* rgb */ color: rgb(85, 93, 23);
/* oklch */ color: oklch(45.7% 0.092 115.8);
Tailwind
colors: {
  custom: {
    50: '#878a59',
    500: '#555d17',
    950: '#000000',
  },
}
SCSS
$custom: #555d17;
$custom-light: #878a59;
$custom-dark: #000000;
JSON
{
  "hex": "#555d17",
  "rgb": {
    "r": 85,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 66.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.09176,
    "h": 115.8
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#555D17
secondary
#463C94
accent
#44E357
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #555D17

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

Preview Lab → · Contrast checker → · Palette generator →

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