#54862F#54862F

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

Color values

HEX#54862F
RGBrgb(84, 134, 47)
HSLhsl(94, 48%, 35%)
HSVhsv(94, 65%, 53%)
CMYKcmyk(37.3%, 0%, 64.9%, 47.5%)
CIE-LABlab(50.85, -32.57, 40.38)
CIE-LCHlch(50.85, 51.88, 128.89°)
OKLaboklab(56.53% -0.0907 0.0933)
OKLCHoklch(56.53% 0.13 134.2)
XYZxyz(12.6941, 19.1397, 5.7143)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54862F #612F86
analogous
#7F862F #54862F #2F8636
triadic
#54862F #2F5486 #862F54
tetradic
#54862F #2F7F86 #612F86 #86362F
square
#54862F #2F7F86 #612F86 #86362F
split-complementary
#54862F #362F86 #862F7F
monochromatic
#1B2B0F #38591F #54862F #70B33F #90C966

Accessibility & contrast

On white

4.35
#54862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#54862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54862F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54862F#FFFFFF#000000##000000
##54862F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#548174
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54862f;
/* rgb */ color: rgb(84, 134, 47);
/* oklch */ color: oklch(56.5% 0.130 134.2);
Tailwind
colors: {
  custom: {
    50: '#88a96b',
    500: '#54862f',
    950: '#000000',
  },
}
SCSS
$custom: #54862f;
$custom-light: #88a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#54862f",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 94.483,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.13015,
    "h": 134.2
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#54862F
secondary
#8E60B0
accent
#50D89E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54862F

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

Preview Lab → · Contrast checker → · Palette generator →

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