#54781E#54781E

#54781E is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.124 H 129.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#54781E
RGBrgb(84, 120, 30)
HSLhsl(84, 60%, 29%)
HSVhsv(84, 75%, 47%)
CMYKcmyk(30%, 0%, 75%, 52.9%)
CIE-LABlab(46.19, -27.35, 42.78)
CIE-LCHlch(46.19, 50.77, 122.59°)
OKLaboklab(52.69% -0.0779 0.0959)
OKLCHoklch(52.69% 0.124 129.1)
XYZxyz(10.6069, 15.4112, 3.6439)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54781E #421E78
analogous
#786F1E #54781E #27781E
triadic
#54781E #1E5478 #781E54
tetradic
#54781E #1E786F #421E78 #781E27
square
#54781E #1E786F #421E78 #781E27
split-complementary
#54781E #1E2778 #6F1E78
monochromatic
#111806 #324712 #54781E #76A92A #96CF41

Accessibility & contrast

On white

5.14
#54781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#54781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54781E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54781E#FFFFFF#000000##FFFFFF
##54781E1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0E
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#577266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #54781e;
/* rgb */ color: rgb(84, 120, 30);
/* oklch */ color: oklch(52.7% 0.124 129.1);
Tailwind
colors: {
  custom: {
    50: '#879f60',
    500: '#54781e',
    950: '#000000',
  },
}
SCSS
$custom: #54781e;
$custom-light: #879f60;
$custom-dark: #000000;
JSON
{
  "hex": "#54781e",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 84,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.12358,
    "h": 129.1
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#54781E
secondary
#6F46AC
accent
#45E384
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54781E

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

Preview Lab → · Contrast checker → · Palette generator →

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