#54912A#54912A

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

Color values

HEX#54912A
RGBrgb(84, 145, 42)
HSLhsl(96, 55%, 37%)
HSVhsv(96, 71%, 57%)
CMYKcmyk(42.1%, 0%, 71%, 43.1%)
CIE-LABlab(54.35, -37.91, 46.27)
CIE-LCHlch(54.35, 59.81, 129.33°)
OKLaboklab(59.37% -0.1057 0.105)
OKLCHoklch(59.37% 0.149 135.2)
XYZxyz(14.1992, 22.3020, 5.7466)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54912A #672A91
analogous
#88912A #54912A #2A9134
triadic
#54912A #2A5491 #912A54
tetradic
#54912A #2A8891 #672A91 #91342A
square
#54912A #2A8891 #672A91 #91342A
split-complementary
#54912A #342A91 #912A88
monochromatic
#1D320F #39621C #54912A #6FC038 #91D263

Accessibility & contrast

On white

3.85
#54912A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54912A#FFFFFF#000000##000000
##54912A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#538B7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #54912a;
/* rgb */ color: rgb(84, 145, 42);
/* oklch */ color: oklch(59.4% 0.149 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b26a',
    500: '#54912a',
    950: '#000000',
  },
}
SCSS
$custom: #54912a;
$custom-light: #89b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#54912a",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 95.534,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.149,
    "h": 135.2
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#54912A
secondary
#945FB8
accent
#49DEA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54912A

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

Preview Lab → · Contrast checker → · Palette generator →

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