#54931A#54931A

#54931A is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.8% C 0.161 H 134.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#54931A
RGBrgb(84, 147, 26)
HSLhsl(91, 70%, 34%)
HSVhsv(91, 82%, 58%)
CMYKcmyk(42.9%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.89, -39.79, 52.42)
CIE-LCHlch(54.89, 65.81, 127.20°)
OKLaboklab(59.79% -0.1119 0.1155)
OKLCHoklch(59.79% 0.161 134.1)
XYZxyz(14.2761, 22.8261, 4.6307)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54931A #591A93
analogous
#91931A #54931A #1A931D
triadic
#54931A #1A5493 #931A54
tetradic
#54931A #1A9193 #591A93 #931D1A
square
#54931A #1A9193 #591A93 #931D1A
split-complementary
#54931A #1D1A93 #931A91
monochromatic
#192B08 #365F11 #54931A #72C723 #91DF49

Accessibility & contrast

On white

3.77
#54931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#54931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54931A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54931A#FFFFFF#000000##000000
##54931A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#538D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #54931a;
/* rgb */ color: rgb(84, 147, 26);
/* oklch */ color: oklch(59.8% 0.161 134.1);
Tailwind
colors: {
  custom: {
    50: '#8ab362',
    500: '#54931a',
    950: '#000000',
  },
}
SCSS
$custom: #54931a;
$custom-light: #8ab362;
$custom-dark: #000000;
JSON
{
  "hex": "#54931a",
  "rgb": {
    "r": 84,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 91.24,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.16079,
    "h": 134.1
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#54931A
secondary
#8748C0
accent
#3BED98
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54931A

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

Preview Lab → · Contrast checker → · Palette generator →

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