#54852B#54852B

#54852B is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.132 H 133.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#54852B
RGBrgb(84, 133, 43)
HSLhsl(93, 51%, 35%)
HSVhsv(93, 68%, 52%)
CMYKcmyk(36.8%, 0%, 67.7%, 47.8%)
CIE-LABlab(50.49, -32.47, 41.79)
CIE-LCHlch(50.49, 52.92, 127.85°)
OKLaboklab(56.22% -0.0908 0.0958)
OKLCHoklch(56.22% 0.132 133.5)
XYZxyz(12.4795, 18.8338, 5.2628)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852B #5C2B85
analogous
#81852B #54852B #2B852F
triadic
#54852B #2B5485 #852B54
tetradic
#54852B #2B8185 #5C2B85 #852F2B
square
#54852B #2B8185 #5C2B85 #852F2B
split-complementary
#54852B #2F2B85 #852B81
monochromatic
#1A290D #37571C #54852B #71B33A #90CB5F

Accessibility & contrast

On white

4.41
#54852B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#54852B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54852B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54852B#FFFFFF#000000##000000
##54852B1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1F
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#548073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54852b;
/* rgb */ color: rgb(84, 133, 43);
/* oklch */ color: oklch(56.2% 0.132 133.5);
Tailwind
colors: {
  custom: {
    50: '#88a969',
    500: '#54852b',
    950: '#000000',
  },
}
SCSS
$custom: #54852b;
$custom-light: #88a969;
$custom-dark: #000000;
JSON
{
  "hex": "#54852b",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 92.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.13197,
    "h": 133.5
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#54852B
secondary
#8A5BB1
accent
#4DDB9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #54852B

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

Preview Lab → · Contrast checker → · Palette generator →

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