#54812B#54812B

#54812B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.126 H 132.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#54812B
RGBrgb(84, 129, 43)
HSLhsl(91, 50%, 34%)
HSVhsv(91, 67%, 51%)
CMYKcmyk(34.9%, 0%, 66.7%, 49.4%)
CIE-LABlab(49.20, -30.62, 40.40)
CIE-LCHlch(49.20, 50.69, 127.16°)
OKLaboklab(55.17% -0.0857 0.0928)
OKLCHoklch(55.17% 0.126 132.7)
XYZxyz(11.9423, 17.7593, 5.0837)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54812B #582B81
analogous
#7F812B #54812B #2B812D
triadic
#54812B #2B5481 #812B54
tetradic
#54812B #2B7F81 #582B81 #812D2B
square
#54812B #2B7F81 #582B81 #812D2B
split-complementary
#54812B #2D2B81 #812B7F
monochromatic
#18250C #36531C #54812B #72AF3A #91C95D

Accessibility & contrast

On white

4.61
#54812B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#54812B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54812B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54812B#FFFFFF#000000##FFFFFF
##54812B1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867720
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#557C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54812b;
/* rgb */ color: rgb(84, 129, 43);
/* oklch */ color: oklch(55.2% 0.126 132.7);
Tailwind
colors: {
  custom: {
    50: '#88a669',
    500: '#54812b',
    950: '#000000',
  },
}
SCSS
$custom: #54812b;
$custom-light: #88a669;
$custom-dark: #000000;
JSON
{
  "hex": "#54812b",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 91.395,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.12637,
    "h": 132.7
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#54812B
secondary
#8659AF
accent
#4EDA97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #54812B

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

Preview Lab → · Contrast checker → · Palette generator →

#54812B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva