#54791E#54791E

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

Color values

HEX#54791E
RGBrgb(84, 121, 30)
HSLhsl(84, 60%, 30%)
HSVhsv(84, 75%, 47%)
CMYKcmyk(30.6%, 0%, 75.2%, 52.5%)
CIE-LABlab(46.52, -27.83, 43.10)
CIE-LCHlch(46.52, 51.30, 122.85°)
OKLaboklab(52.95% -0.0792 0.0966)
OKLCHoklch(52.95% 0.125 129.4)
XYZxyz(10.7278, 15.6530, 3.6842)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54791E #431E79
analogous
#79711E #54791E #26791E
triadic
#54791E #1E5479 #791E54
tetradic
#54791E #1E7971 #431E79 #791E26
square
#54791E #1E7971 #431E79 #791E26
split-complementary
#54791E #1E2679 #711E79
monochromatic
#111906 #324812 #54791E #76AA2A #96D041

Accessibility & contrast

On white

5.08
#54791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#54791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54791E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54791E#FFFFFF#000000##FFFFFF
##54791E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#577367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #54791e;
/* rgb */ color: rgb(84, 121, 30);
/* oklch */ color: oklch(53.0% 0.125 129.4);
Tailwind
colors: {
  custom: {
    50: '#88a061',
    500: '#54791e',
    950: '#000000',
  },
}
SCSS
$custom: #54791e;
$custom-light: #88a061;
$custom-dark: #000000;
JSON
{
  "hex": "#54791e",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 84.396,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.12493,
    "h": 129.4
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#54791E
secondary
#7046AD
accent
#44E385
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54791E

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

Preview Lab → · Contrast checker → · Palette generator →

#54791E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva