#54811B#54811B

#54811B is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.137 H 131.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#54811B
RGBrgb(84, 129, 27)
HSLhsl(86, 65%, 31%)
HSVhsv(86, 79%, 51%)
CMYKcmyk(34.9%, 0%, 79.1%, 49.4%)
CIE-LABlab(49.09, -31.79, 46.69)
CIE-LCHlch(49.09, 56.48, 124.25°)
OKLaboklab(55.04% -0.0902 0.1036)
OKLCHoklch(55.04% 0.137 131.1)
XYZxyz(11.7041, 17.6640, 3.8295)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54811B #481B81
analogous
#817B1B #54811B #21811B
triadic
#54811B #1B5481 #811B54
tetradic
#54811B #1B817B #481B81 #811B21
square
#54811B #1B817B #481B81 #811B21
split-complementary
#54811B #1B2181 #7B1B81
monochromatic
#121C06 #334E10 #54811B #75B426 #94D73F

Accessibility & contrast

On white

4.63
#54811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#54811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54811B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54811B#FFFFFF#000000##FFFFFF
##54811B1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54811b;
/* rgb */ color: rgb(84, 129, 27);
/* oklch */ color: oklch(55.0% 0.137 131.1);
Tailwind
colors: {
  custom: {
    50: '#88a660',
    500: '#54811b',
    950: '#000000',
  },
}
SCSS
$custom: #54811b;
$custom-light: #88a660;
$custom-dark: #000000;
JSON
{
  "hex": "#54811b",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 86.471,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.13741,
    "h": 131.1
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#54811B
secondary
#7543B5
accent
#3FE88A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54811B

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

Preview Lab → · Contrast checker → · Palette generator →

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