#55791B#55791B

#55791B is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.126 H 128.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#55791B
RGBrgb(85, 121, 27)
HSLhsl(83, 64%, 29%)
HSVhsv(83, 78%, 47%)
CMYKcmyk(29.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.56, -27.61, 44.29)
CIE-LCHlch(46.56, 52.19, 121.94°)
OKLaboklab(53% -0.079 0.0986)
OKLCHoklch(53% 0.126 128.7)
XYZxyz(10.7815, 15.6849, 3.4961)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55791B #3F1B79
analogous
#796E1B #55791B #26791B
triadic
#55791B #1B5579 #791B55
tetradic
#55791B #1B796E #3F1B79 #791B26
square
#55791B #1B796E #3F1B79 #791B26
split-complementary
#55791B #1B2679 #6E1B79
monochromatic
#121906 #324710 #55791B #78AB26 #99D33B

Accessibility & contrast

On white

5.08
#55791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#55791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #55791B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55791B#FFFFFF#000000##FFFFFF
##55791B1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7007
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#587367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #55791b;
/* rgb */ color: rgb(85, 121, 27);
/* oklch */ color: oklch(53.0% 0.126 128.7);
Tailwind
colors: {
  custom: {
    50: '#88a05f',
    500: '#55791b',
    950: '#000000',
  },
}
SCSS
$custom: #55791b;
$custom-light: #88a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#55791b",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 82.979,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.12629,
    "h": 128.7
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#55791B
secondary
#6B43AD
accent
#41E781
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #55791B

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

Preview Lab → · Contrast checker → · Palette generator →

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