#55791A#55791A

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

Color values

HEX#55791A
RGBrgb(85, 121, 26)
HSLhsl(83, 65%, 29%)
HSVhsv(83, 79%, 47%)
CMYKcmyk(29.8%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.55, -27.67, 44.65)
CIE-LCHlch(46.55, 52.52, 121.79°)
OKLaboklab(52.99% -0.0792 0.0991)
OKLCHoklch(52.99% 0.127 128.6)
XYZxyz(10.7701, 15.6803, 3.4363)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55791A #3E1A79
analogous
#796E1A #55791A #26791A
triadic
#55791A #1A5579 #791A55
tetradic
#55791A #1A796E #3E1A79 #791A26
square
#55791A #1A796E #3E1A79 #791A26
split-complementary
#55791A #1A2679 #6E1A79
monochromatic
#121905 #32470F #55791A #78AB25 #9AD439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##55791A#FFFFFF#000000##FFFFFF
##55791A1.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)
#7F7004
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#587367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #55791a;
/* rgb */ color: rgb(85, 121, 26);
/* oklch */ color: oklch(53.0% 0.127 128.6);
Tailwind
colors: {
  custom: {
    50: '#88a05f',
    500: '#55791a',
    950: '#000000',
  },
}
SCSS
$custom: #55791a;
$custom-light: #88a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#55791a",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 82.737,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.1269,
    "h": 128.6
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#55791A
secondary
#6A41AD
accent
#40E880
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #55791A

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

Preview Lab → · Contrast checker → · Palette generator →

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