#54912D#54912D

#54912D is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.4% C 0.147 H 135.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#54912D
RGBrgb(84, 145, 45)
HSLhsl(97, 53%, 37%)
HSVhsv(97, 69%, 57%)
CMYKcmyk(42.1%, 0%, 69%, 43.1%)
CIE-LABlab(54.37, -37.67, 45.05)
CIE-LCHlch(54.37, 58.72, 129.90°)
OKLaboklab(59.4% -0.1048 0.1029)
OKLCHoklch(59.4% 0.147 135.5)
XYZxyz(14.2549, 22.3243, 6.0400)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54912D #6A2D91
analogous
#86912D #54912D #2D9138
triadic
#54912D #2D5491 #912D54
tetradic
#54912D #2D8691 #6A2D91 #91382D
square
#54912D #2D8691 #6A2D91 #91382D
split-complementary
#54912D #382D91 #912D86
monochromatic
#1E3410 #39621F #54912D #6FC03B #91D068

Accessibility & contrast

On white

3.84
#54912D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#54912D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54912D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54912D#FFFFFF#000000##000000
##54912D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#528C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #54912d;
/* rgb */ color: rgb(84, 145, 45);
/* oklch */ color: oklch(59.4% 0.147 135.5);
Tailwind
colors: {
  custom: {
    50: '#89b26b',
    500: '#54912d',
    950: '#000000',
  },
}
SCSS
$custom: #54912d;
$custom-light: #89b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#54912d",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 96.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.14687,
    "h": 135.5
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#54912D
secondary
#9663B7
accent
#4CDCA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54912D

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

Preview Lab → · Contrast checker → · Palette generator →

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