#54962D#54962D

#54962D is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.154 H 136.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#54962D
RGBrgb(84, 150, 45)
HSLhsl(98, 54%, 38%)
HSVhsv(98, 70%, 59%)
CMYKcmyk(44%, 0%, 70%, 41.2%)
CIE-LABlab(55.97, -39.81, 46.74)
CIE-LCHlch(55.97, 61.40, 130.43°)
OKLaboklab(60.71% -0.1106 0.1064)
OKLCHoklch(60.71% 0.154 136.1)
XYZxyz(15.0358, 23.8861, 6.3003)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54962D #6F2D96
analogous
#88962D #54962D #2D963A
triadic
#54962D #2D5496 #962D54
tetradic
#54962D #2D8896 #6F2D96 #963A2D
square
#54962D #2D8896 #6F2D96 #963A2D
split-complementary
#54962D #3A2D96 #962D88
monochromatic
#1F3811 #3A671F #54962D #6FC43C #91D36B

Accessibility & contrast

On white

3.63
#54962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#54962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54962D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54962D#FFFFFF#000000##000000
##54962D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1D
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#519081
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #54962d;
/* rgb */ color: rgb(84, 150, 45);
/* oklch */ color: oklch(60.7% 0.154 136.1);
Tailwind
colors: {
  custom: {
    50: '#8ab56c',
    500: '#54962d',
    950: '#000000',
  },
}
SCSS
$custom: #54962d;
$custom-light: #8ab56c;
$custom-dark: #000000;
JSON
{
  "hex": "#54962d",
  "rgb": {
    "r": 84,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 97.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.15351,
    "h": 136.1
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#54962D
secondary
#9A65B9
accent
#4BDDA7
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54962D

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

Preview Lab → · Contrast checker → · Palette generator →

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