#54982F#54982F

#54982F is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.155 H 136.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#54982F
RGBrgb(84, 152, 47)
HSLhsl(99, 53%, 39%)
HSVhsv(99, 69%, 60%)
CMYKcmyk(44.7%, 0%, 69.1%, 40.4%)
CIE-LABlab(56.63, -40.50, 46.60)
CIE-LCHlch(56.63, 61.74, 130.99°)
OKLaboklab(61.25% -0.1123 0.1064)
OKLCHoklch(61.25% 0.155 136.5)
XYZxyz(15.3971, 24.5456, 6.6152)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54982F #732F98
analogous
#89982F #54982F #2F983F
triadic
#54982F #2F5498 #982F54
tetradic
#54982F #2F8998 #732F98 #983F2F
square
#54982F #2F8998 #732F98 #983F2F
split-complementary
#54982F #3F2F98 #982F89
monochromatic
#203B12 #3A6921 #54982F #6FC440 #92D26F

Accessibility & contrast

On white

3.55
#54982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#54982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54982F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54982F#FFFFFF#000000##000000
##54982F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B20
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#519283
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54982f;
/* rgb */ color: rgb(84, 152, 47);
/* oklch */ color: oklch(61.3% 0.155 136.5);
Tailwind
colors: {
  custom: {
    50: '#8ab76d',
    500: '#54982f',
    950: '#000000',
  },
}
SCSS
$custom: #54982f;
$custom-light: #8ab76d;
$custom-dark: #000000;
JSON
{
  "hex": "#54982f",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 98.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.15473,
    "h": 136.5
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#54982F
secondary
#9D69BA
accent
#4CDCA9
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54982F

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

Preview Lab → · Contrast checker → · Palette generator →

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