#54982C#54982C

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

Color values

HEX#54982C
RGBrgb(84, 152, 44)
HSLhsl(98, 55%, 38%)
HSVhsv(98, 71%, 60%)
CMYKcmyk(44.7%, 0%, 71.1%, 40.4%)
CIE-LABlab(56.61, -40.74, 47.80)
CIE-LCHlch(56.61, 62.81, 130.44°)
OKLaboklab(61.23% -0.1132 0.1085)
OKLCHoklch(61.23% 0.157 136.2)
XYZxyz(15.3386, 24.5222, 6.3074)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54982C #702C98
analogous
#8A982C #54982C #2C983A
triadic
#54982C #2C5498 #982C54
tetradic
#54982C #2C8A98 #702C98 #983A2C
square
#54982C #2C8A98 #702C98 #983A2C
split-complementary
#54982C #3A2C98 #982C8A
monochromatic
#203911 #3A691E #54982C #6FC63B #92D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54982C#FFFFFF#000000##000000
##54982C1.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)
#9D8B1B
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#519283
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #54982c;
/* rgb */ color: rgb(84, 152, 44);
/* oklch */ color: oklch(61.2% 0.157 136.2);
Tailwind
colors: {
  custom: {
    50: '#8ab76c',
    500: '#54982c',
    950: '#000000',
  },
}
SCSS
$custom: #54982c;
$custom-light: #8ab76c;
$custom-dark: #000000;
JSON
{
  "hex": "#54982c",
  "rgb": {
    "r": 84,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 97.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61228,
    "c": 0.15683,
    "h": 136.2
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

primary
#54982C
secondary
#9B65BB
accent
#49DEA7
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54982C

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

Preview Lab → · Contrast checker → · Palette generator →

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