#54982A#54982A

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

Color values

HEX#54982A
RGBrgb(84, 152, 42)
HSLhsl(97, 57%, 38%)
HSVhsv(97, 72%, 60%)
CMYKcmyk(44.7%, 0%, 72.4%, 40.4%)
CIE-LABlab(56.59, -40.90, 48.57)
CIE-LCHlch(56.59, 63.50, 130.10°)
OKLaboklab(61.21% -0.1138 0.1099)
OKLCHoklch(61.21% 0.158 136)
XYZxyz(15.3019, 24.5075, 6.1142)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54982A #6E2A98
analogous
#8B982A #54982A #2A9837
triadic
#54982A #2A5498 #982A54
tetradic
#54982A #2A8B98 #6E2A98 #98372A
square
#54982A #2A8B98 #6E2A98 #98372A
split-complementary
#54982A #372A98 #982A8B
monochromatic
#1F3810 #3A681D #54982A #6FC837 #91D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54982A#FFFFFF#000000##000000
##54982A1.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)
#9D8B18
Deuteranopia (green-blind)
#948634
Tritanopia (blue-blind)
#519282
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54982a;
/* rgb */ color: rgb(84, 152, 42);
/* oklch */ color: oklch(61.2% 0.158 136.0);
Tailwind
colors: {
  custom: {
    50: '#8ab76b',
    500: '#54982a',
    950: '#000000',
  },
}
SCSS
$custom: #54982a;
$custom-light: #8ab76b;
$custom-dark: #000000;
JSON
{
  "hex": "#54982a",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 97.091,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.15815,
    "h": 136
  },
  "luminance": 0.24508
}

Semantic roles & 50–950 ramp

primary
#54982A
secondary
#9962BB
accent
#48E0A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54982A

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

Preview Lab → · Contrast checker → · Palette generator →

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