#54951D#54951D

#54951D is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.3% C 0.162 H 134.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#54951D
RGBrgb(84, 149, 29)
HSLhsl(93, 67%, 35%)
HSVhsv(93, 81%, 58%)
CMYKcmyk(43.6%, 0%, 80.5%, 41.6%)
CIE-LABlab(55.55, -40.48, 52.12)
CIE-LCHlch(55.55, 65.99, 127.83°)
OKLaboklab(60.33% -0.1135 0.1153)
OKLCHoklch(60.33% 0.162 134.5)
XYZxyz(14.6251, 23.4676, 4.9212)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54951D #5E1D95
analogous
#90951D #54951D #1D9522
triadic
#54951D #1D5495 #951D54
tetradic
#54951D #1D9095 #5E1D95 #95221D
square
#54951D #1D9095 #5E1D95 #95221D
split-complementary
#54951D #221D95 #951D90
monochromatic
#1A2F09 #376213 #54951D #71C827 #90DD50

Accessibility & contrast

On white

3.69
#54951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#54951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54951D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54951D#FFFFFF#000000##000000
##54951D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#538F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54951d;
/* rgb */ color: rgb(84, 149, 29);
/* oklch */ color: oklch(60.3% 0.162 134.5);
Tailwind
colors: {
  custom: {
    50: '#8ab464',
    500: '#54951d',
    950: '#000000',
  },
}
SCSS
$custom: #54951d;
$custom-light: #8ab464;
$custom-dark: #000000;
JSON
{
  "hex": "#54951d",
  "rgb": {
    "r": 84,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 92.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.16183,
    "h": 134.5
  },
  "luminance": 0.23468
}

Semantic roles & 50–950 ramp

primary
#54951D
secondary
#8C4EC0
accent
#3DEA9B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54951D

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

Preview Lab → · Contrast checker → · Palette generator →

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