#54951A#54951A

#54951A is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.3% C 0.163 H 134.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#54951A
RGBrgb(84, 149, 26)
HSLhsl(92, 70%, 34%)
HSVhsv(92, 83%, 58%)
CMYKcmyk(43.6%, 0%, 82.6%, 41.6%)
CIE-LABlab(55.54, -40.63, 53.01)
CIE-LCHlch(55.54, 66.79, 127.47°)
OKLaboklab(60.32% -0.1141 0.1167)
OKLCHoklch(60.32% 0.163 134.4)
XYZxyz(14.5898, 23.4535, 4.7353)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54951A #5B1A95
analogous
#92951A #54951A #1A951D
triadic
#54951A #1A5495 #951A54
tetradic
#54951A #1A9295 #5B1A95 #951D1A
square
#54951A #1A9295 #5B1A95 #951D1A
split-complementary
#54951A #1D1A95 #951A92
monochromatic
#192D08 #376111 #54951A #71C923 #90DF4A

Accessibility & contrast

On white

3.69
#54951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#54951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54951A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54951A#FFFFFF#000000##000000
##54951A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#538F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #54951a;
/* rgb */ color: rgb(84, 149, 26);
/* oklch */ color: oklch(60.3% 0.163 134.4);
Tailwind
colors: {
  custom: {
    50: '#8ab463',
    500: '#54951a',
    950: '#000000',
  },
}
SCSS
$custom: #54951a;
$custom-light: #8ab463;
$custom-dark: #000000;
JSON
{
  "hex": "#54951a",
  "rgb": {
    "r": 84,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 91.707,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.16325,
    "h": 134.4
  },
  "luminance": 0.23454
}

Semantic roles & 50–950 ramp

primary
#54951A
secondary
#894AC1
accent
#3BED99
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54951A

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

Preview Lab → · Contrast checker → · Palette generator →

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