#54852D#54852D

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

Color values

HEX#54852D
RGBrgb(84, 133, 45)
HSLhsl(93, 49%, 35%)
HSVhsv(93, 66%, 52%)
CMYKcmyk(36.8%, 0%, 66.2%, 47.8%)
CIE-LABlab(50.51, -32.30, 40.92)
CIE-LCHlch(50.51, 52.13, 128.28°)
OKLaboklab(56.24% -0.0902 0.0942)
OKLCHoklch(56.24% 0.13 133.7)
XYZxyz(12.5171, 18.8488, 5.4608)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54852D #5E2D85
analogous
#80852D #54852D #2D8532
triadic
#54852D #2D5485 #852D54
tetradic
#54852D #2D8085 #5E2D85 #85322D
square
#54852D #2D8085 #5E2D85 #85322D
split-complementary
#54852D #322D85 #852D80
monochromatic
#1A2A0E #37571E #54852D #71B33C #90CA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54852D#FFFFFF#000000##000000
##54852D1.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)
#8A7B22
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#548073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #54852d;
/* rgb */ color: rgb(84, 133, 45);
/* oklch */ color: oklch(56.2% 0.130 133.7);
Tailwind
colors: {
  custom: {
    50: '#88a96a',
    500: '#54852d',
    950: '#000000',
  },
}
SCSS
$custom: #54852d;
$custom-light: #88a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54852d",
  "rgb": {
    "r": 84,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 93.409,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.13039,
    "h": 133.7
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54852D

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

Preview Lab → · Contrast checker → · Palette generator →

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