#54852F#54852F

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

Color values

HEX#54852F
RGBrgb(84, 133, 47)
HSLhsl(94, 48%, 35%)
HSVhsv(94, 65%, 52%)
CMYKcmyk(36.8%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.53, -32.11, 40.03)
CIE-LCHlch(50.53, 51.31, 128.74°)
OKLaboklab(56.27% -0.0895 0.0925)
OKLCHoklch(56.27% 0.129 134)
XYZxyz(12.5565, 18.8646, 5.6684)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852F #602F85
analogous
#7F852F #54852F #2F8535
triadic
#54852F #2F5485 #852F54
tetradic
#54852F #2F7F85 #602F85 #85352F
square
#54852F #2F7F85 #602F85 #85352F
split-complementary
#54852F #352F85 #852F7F
monochromatic
#1B2B0F #37581F #54852F #71B23F #90C966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54852F#FFFFFF#000000##000000
##54852F1.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)
#8A7B25
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#548073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54852f;
/* rgb */ color: rgb(84, 133, 47);
/* oklch */ color: oklch(56.3% 0.129 134.0);
Tailwind
colors: {
  custom: {
    50: '#88a96b',
    500: '#54852f',
    950: '#000000',
  },
}
SCSS
$custom: #54852f;
$custom-light: #88a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#54852f",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 94.186,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.12873,
    "h": 134
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#54852F
secondary
#8D60B0
accent
#50D79D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54852F

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

Preview Lab → · Contrast checker → · Palette generator →

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