#55791F#55791F

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

Color values

HEX#55791F
RGBrgb(85, 121, 31)
HSLhsl(84, 59%, 30%)
HSVhsv(84, 74%, 47%)
CMYKcmyk(29.8%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.58, -27.35, 42.79)
CIE-LCHlch(46.58, 50.79, 122.59°)
OKLaboklab(53.03% -0.0779 0.0961)
OKLCHoklch(53.03% 0.124 129)
XYZxyz(10.8310, 15.7047, 3.7567)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55791F #431F79
analogous
#79701F #55791F #28791F
triadic
#55791F #1F5579 #791F55
tetradic
#55791F #1F7970 #431F79 #791F28
square
#55791F #1F7970 #431F79 #791F28
split-complementary
#55791F #1F2879 #701F79
monochromatic
#111806 #334813 #55791F #77AA2B #97CF43

Accessibility & contrast

On white

5.07
#55791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #55791F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55791F#FFFFFF#000000##FFFFFF
##55791F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55791f;
/* rgb */ color: rgb(85, 121, 31);
/* oklch */ color: oklch(53.0% 0.124 129.0);
Tailwind
colors: {
  custom: {
    50: '#88a061',
    500: '#55791f',
    950: '#000000',
  },
}
SCSS
$custom: #55791f;
$custom-light: #88a061;
$custom-dark: #000000;
JSON
{
  "hex": "#55791f",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 84,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.12373,
    "h": 129
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#55791F
secondary
#7047AC
accent
#45E284
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #55791F

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

Preview Lab → · Contrast checker → · Palette generator →

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