#54811E#54811E

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

Color values

HEX#54811E
RGBrgb(84, 129, 30)
HSLhsl(87, 62%, 31%)
HSVhsv(87, 77%, 51%)
CMYKcmyk(34.9%, 0%, 76.7%, 49.4%)
CIE-LABlab(49.10, -31.61, 45.64)
CIE-LCHlch(49.10, 55.52, 124.70°)
OKLaboklab(55.06% -0.0895 0.1019)
OKLCHoklch(55.06% 0.136 131.3)
XYZxyz(11.7407, 17.6786, 4.0218)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54811E #4B1E81
analogous
#817C1E #54811E #22811E
triadic
#54811E #1E5481 #811E54
tetradic
#54811E #1E817C #4B1E81 #811E22
square
#54811E #1E817C #4B1E81 #811E22
split-complementary
#54811E #1E2281 #7C1E81
monochromatic
#131E07 #344F12 #54811E #74B32A #93D446

Accessibility & contrast

On white

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

On black

4.54
#54811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54811E#FFFFFF#000000##FFFFFF
##54811E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54811e;
/* rgb */ color: rgb(84, 129, 30);
/* oklch */ color: oklch(55.1% 0.136 131.3);
Tailwind
colors: {
  custom: {
    50: '#88a662',
    500: '#54811e',
    950: '#000000',
  },
}
SCSS
$custom: #54811e;
$custom-light: #88a662;
$custom-dark: #000000;
JSON
{
  "hex": "#54811e",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 87.273,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.13564,
    "h": 131.3
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#54811E
secondary
#7847B4
accent
#42E58C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54811E

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

Preview Lab → · Contrast checker → · Palette generator →

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