#54982B#54982B

#54982B is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.2% C 0.157 H 136.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#54982B
RGBrgb(84, 152, 43)
HSLhsl(97, 56%, 38%)
HSVhsv(97, 72%, 60%)
CMYKcmyk(44.7%, 0%, 71.7%, 40.4%)
CIE-LABlab(56.60, -40.82, 48.19)
CIE-LCHlch(56.60, 63.15, 130.27°)
OKLaboklab(61.22% -0.1135 0.1092)
OKLCHoklch(61.22% 0.157 136.1)
XYZxyz(15.3200, 24.5148, 6.2096)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54982B #6F2B98
analogous
#8A982B #54982B #2B9838
triadic
#54982B #2B5498 #982B54
tetradic
#54982B #2B8A98 #6F2B98 #98382B
square
#54982B #2B8A98 #6F2B98 #98382B
split-complementary
#54982B #382B98 #982B8A
monochromatic
#1F3910 #3A681E #54982B #6FC739 #91D569

Accessibility & contrast

On white

3.56
#54982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#54982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54982B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54982B#FFFFFF#000000##000000
##54982B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#519282
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54982b;
/* rgb */ color: rgb(84, 152, 43);
/* oklch */ color: oklch(61.2% 0.157 136.1);
Tailwind
colors: {
  custom: {
    50: '#8ab76b',
    500: '#54982b',
    950: '#000000',
  },
}
SCSS
$custom: #54982b;
$custom-light: #8ab76b;
$custom-dark: #000000;
JSON
{
  "hex": "#54982b",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 97.431,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.15749,
    "h": 136.1
  },
  "luminance": 0.24516
}

Semantic roles & 50–950 ramp

primary
#54982B
secondary
#9A64BB
accent
#49DFA7
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54982B

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

Preview Lab → · Contrast checker → · Palette generator →

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