#54931D#54931D

#54931D is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.8% C 0.159 H 134.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#54931D
RGBrgb(84, 147, 29)
HSLhsl(92, 67%, 35%)
HSVhsv(92, 80%, 58%)
CMYKcmyk(42.9%, 0%, 80.3%, 42.4%)
CIE-LABlab(54.91, -39.63, 51.52)
CIE-LCHlch(54.91, 65.00, 127.57°)
OKLaboklab(59.8% -0.1113 0.1141)
OKLCHoklch(59.8% 0.159 134.3)
XYZxyz(14.3114, 22.8402, 4.8167)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54931D #5C1D93
analogous
#8F931D #54931D #1D9321
triadic
#54931D #1D5493 #931D54
tetradic
#54931D #1D8F93 #5C1D93 #93211D
square
#54931D #1D8F93 #5C1D93 #93211D
split-complementary
#54931D #211D93 #931D8F
monochromatic
#1A2D09 #376013 #54931D #71C627 #90DC4E

Accessibility & contrast

On white

3.77
#54931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#54931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54931D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54931D#FFFFFF#000000##000000
##54931D1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#90822A
Tritanopia (blue-blind)
#538D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #54931d;
/* rgb */ color: rgb(84, 147, 29);
/* oklch */ color: oklch(59.8% 0.159 134.3);
Tailwind
colors: {
  custom: {
    50: '#8ab364',
    500: '#54931d',
    950: '#000000',
  },
}
SCSS
$custom: #54931d;
$custom-light: #8ab364;
$custom-dark: #000000;
JSON
{
  "hex": "#54931d",
  "rgb": {
    "r": 84,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 92.034,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.15934,
    "h": 134.3
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#54931D
secondary
#8A4DBF
accent
#3EEA9A
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54931D

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

Preview Lab → · Contrast checker → · Palette generator →

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