#54862D#54862D

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

Color values

HEX#54862D
RGBrgb(84, 134, 45)
HSLhsl(94, 50%, 35%)
HSVhsv(94, 66%, 53%)
CMYKcmyk(37.3%, 0%, 66.4%, 47.5%)
CIE-LABlab(50.83, -32.75, 41.27)
CIE-LCHlch(50.83, 52.69, 128.44°)
OKLaboklab(56.51% -0.0914 0.0949)
OKLCHoklch(56.51% 0.132 133.9)
XYZxyz(12.6547, 19.1239, 5.5066)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54862D #5F2D86
analogous
#80862D #54862D #2D8632
triadic
#54862D #2D5486 #862D54
tetradic
#54862D #2D8086 #5F2D86 #86322D
square
#54862D #2D8086 #5F2D86 #86322D
split-complementary
#54862D #322D86 #862D80
monochromatic
#1B2A0E #37581E #54862D #71B43C #90CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54862D#FFFFFF#000000##000000
##54862D1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54862d;
/* rgb */ color: rgb(84, 134, 45);
/* oklch */ color: oklch(56.5% 0.132 133.9);
Tailwind
colors: {
  custom: {
    50: '#88a96a',
    500: '#54862d',
    950: '#000000',
  },
}
SCSS
$custom: #54862d;
$custom-light: #88a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54862d",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 93.708,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.13178,
    "h": 133.9
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#54862D
secondary
#8D5EB1
accent
#4FD99C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54862D

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

Preview Lab → · Contrast checker → · Palette generator →

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