#55981B#55981B

#55981B is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.2% C 0.166 H 134.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#55981B
RGBrgb(85, 152, 27)
HSLhsl(92, 70%, 35%)
HSVhsv(92, 82%, 60%)
CMYKcmyk(44.1%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.55, -41.49, 53.66)
CIE-LCHlch(56.55, 67.83, 127.71°)
OKLaboklab(61.16% -0.1164 0.1182)
OKLCHoklch(61.16% 0.166 134.6)
XYZxyz(15.1721, 24.4660, 4.9597)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55981B #5E1B98
analogous
#93981B #55981B #1B9820
triadic
#55981B #1B5598 #981B55
tetradic
#55981B #1B9398 #5E1B98 #98201B
square
#55981B #1B9398 #5E1B98 #98201B
split-complementary
#55981B #201B98 #981B93
monochromatic
#1B3009 #386412 #55981B #72CC24 #91E04E

Accessibility & contrast

On white

3.56
#55981B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#55981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #55981B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55981B#FFFFFF#000000##000000
##55981B1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#549281
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #55981b;
/* rgb */ color: rgb(85, 152, 27);
/* oklch */ color: oklch(61.2% 0.166 134.6);
Tailwind
colors: {
  custom: {
    50: '#8bb764',
    500: '#55981b',
    950: '#000000',
  },
}
SCSS
$custom: #55981b;
$custom-light: #8bb764;
$custom-dark: #000000;
JSON
{
  "hex": "#55981b",
  "rgb": {
    "r": 85,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 92.16,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.16595,
    "h": 134.6
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#55981B
secondary
#8C4DC2
accent
#3BED9A
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #55981B

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

Preview Lab → · Contrast checker → · Palette generator →

#55981B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva