#54912C#54912C

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

Color values

HEX#54912C
RGBrgb(84, 145, 44)
HSLhsl(96, 53%, 37%)
HSVhsv(96, 70%, 57%)
CMYKcmyk(42.1%, 0%, 69.7%, 43.1%)
CIE-LABlab(54.36, -37.75, 45.46)
CIE-LCHlch(54.36, 59.09, 129.71°)
OKLaboklab(59.39% -0.1051 0.1036)
OKLCHoklch(59.39% 0.148 135.4)
XYZxyz(14.2358, 22.3167, 5.9398)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54912C #692C91
analogous
#86912C #54912C #2C9137
triadic
#54912C #2C5491 #912C54
tetradic
#54912C #2C8691 #692C91 #91372C
square
#54912C #2C8691 #692C91 #91372C
split-complementary
#54912C #372C91 #912C86
monochromatic
#1E3310 #39621E #54912C #6FC03A #91D167

Accessibility & contrast

On white

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

On black

5.46
#54912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54912C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54912C#FFFFFF#000000##000000
##54912C1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54912c;
/* rgb */ color: rgb(84, 145, 44);
/* oklch */ color: oklch(59.4% 0.148 135.4);
Tailwind
colors: {
  custom: {
    50: '#89b26b',
    500: '#54912c',
    950: '#000000',
  },
}
SCSS
$custom: #54912c;
$custom-light: #89b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#54912c",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 96.238,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.14758,
    "h": 135.4
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#54912C
secondary
#9562B7
accent
#4BDDA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54912C

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

Preview Lab → · Contrast checker → · Palette generator →

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