#54791D#54791D

#54791D is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.9% C 0.126 H 129.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#54791D
RGBrgb(84, 121, 29)
HSLhsl(84, 61%, 29%)
HSVhsv(84, 76%, 47%)
CMYKcmyk(30.6%, 0%, 76%, 52.5%)
CIE-LABlab(46.51, -27.89, 43.48)
CIE-LCHlch(46.51, 51.66, 122.68°)
OKLaboklab(52.95% -0.0795 0.0972)
OKLCHoklch(52.95% 0.126 129.3)
XYZxyz(10.7153, 15.6480, 3.6180)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54791D #421D79
analogous
#79701D #54791D #26791D
triadic
#54791D #1D5479 #791D54
tetradic
#54791D #1D7970 #421D79 #791D26
square
#54791D #1D7970 #421D79 #791D26
split-complementary
#54791D #1D2679 #701D79
monochromatic
#111906 #324811 #54791D #76AA29 #96D13F

Accessibility & contrast

On white

5.09
#54791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54791D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54791D#FFFFFF#000000##FFFFFF
##54791D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54791d;
/* rgb */ color: rgb(84, 121, 29);
/* oklch */ color: oklch(52.9% 0.126 129.3);
Tailwind
colors: {
  custom: {
    50: '#88a060',
    500: '#54791d',
    950: '#000000',
  },
}
SCSS
$custom: #54791d;
$custom-light: #88a060;
$custom-dark: #000000;
JSON
{
  "hex": "#54791d",
  "rgb": {
    "r": 84,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 84.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.12559,
    "h": 129.3
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#54791D
secondary
#6F45AD
accent
#43E484
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54791D

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

Preview Lab → · Contrast checker → · Palette generator →

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