#54862A#54862A

#54862A is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.5% C 0.134 H 133.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#54862A
RGBrgb(84, 134, 42)
HSLhsl(93, 52%, 35%)
HSVhsv(93, 69%, 53%)
CMYKcmyk(37.3%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.81, -33.02, 42.56)
CIE-LCHlch(50.81, 53.86, 127.80°)
OKLaboklab(56.48% -0.0924 0.0973)
OKLCHoklch(56.48% 0.134 133.5)
XYZxyz(12.5990, 19.1016, 5.2132)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54862A #5C2A86
analogous
#82862A #54862A #2A862E
triadic
#54862A #2A5486 #862A54
tetradic
#54862A #2A8286 #5C2A86 #862E2A
square
#54862A #2A8286 #5C2A86 #862E2A
split-complementary
#54862A #2E2A86 #862A82
monochromatic
#1A290D #37571B #54862A #71B539 #90CD5E

Accessibility & contrast

On white

4.36
#54862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#54862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54862A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54862A#FFFFFF#000000##000000
##54862A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C1D
Deuteranopia (green-blind)
#847832
Tritanopia (blue-blind)
#548173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54862a;
/* rgb */ color: rgb(84, 134, 42);
/* oklch */ color: oklch(56.5% 0.134 133.5);
Tailwind
colors: {
  custom: {
    50: '#88a969',
    500: '#54862a',
    950: '#000000',
  },
}
SCSS
$custom: #54862a;
$custom-light: #88a969;
$custom-dark: #000000;
JSON
{
  "hex": "#54862a",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 92.609,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.13413,
    "h": 133.5
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#54862A
secondary
#8A5AB2
accent
#4CDC9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54862A

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

Preview Lab → · Contrast checker → · Palette generator →

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