#54852E#54852E

#54852E is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.130 H 133.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#54852E
RGBrgb(84, 133, 46)
HSLhsl(94, 49%, 35%)
HSVhsv(94, 65%, 52%)
CMYKcmyk(36.8%, 0%, 65.4%, 47.8%)
CIE-LABlab(50.52, -32.20, 40.47)
CIE-LCHlch(50.52, 51.72, 128.51°)
OKLaboklab(56.25% -0.0898 0.0934)
OKLCHoklch(56.25% 0.13 133.9)
XYZxyz(12.5366, 18.8566, 5.5634)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852E #5F2E85
analogous
#7F852E #54852E #2E8534
triadic
#54852E #2E5485 #852E54
tetradic
#54852E #2E7F85 #5F2E85 #85342E
square
#54852E #2E7F85 #5F2E85 #85342E
split-complementary
#54852E #342E85 #852E7F
monochromatic
#1B2A0F #37581E #54852E #71B23E #90C964

Accessibility & contrast

On white

4.40
#54852E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54852E#FFFFFF#000000##000000
##54852E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54852e;
/* rgb */ color: rgb(84, 133, 46);
/* oklch */ color: oklch(56.3% 0.130 133.9);
Tailwind
colors: {
  custom: {
    50: '#88a96b',
    500: '#54852e',
    950: '#000000',
  },
}
SCSS
$custom: #54852e;
$custom-light: #88a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#54852e",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 93.793,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.12956,
    "h": 133.9
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#54852E
secondary
#8D5FB0
accent
#50D89D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54852E

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

Preview Lab → · Contrast checker → · Palette generator →

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