#54931F#54931F

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

Color values

HEX#54931F
RGBrgb(84, 147, 31)
HSLhsl(93, 65%, 35%)
HSVhsv(93, 79%, 58%)
CMYKcmyk(42.9%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.92, -39.52, 50.89)
CIE-LCHlch(54.92, 64.43, 127.83°)
OKLaboklab(59.82% -0.1108 0.1131)
OKLCHoklch(59.82% 0.158 134.4)
XYZxyz(14.3369, 22.8504, 4.9512)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54931F #5E1F93
analogous
#8E931F #54931F #1F9324
triadic
#54931F #1F5493 #931F54
tetradic
#54931F #1F8E93 #5E1F93 #93241F
square
#54931F #1F8E93 #5E1F93 #93241F
split-complementary
#54931F #241F93 #931F8E
monochromatic
#1A2E0A #376014 #54931F #71C62A #90DA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54931F#FFFFFF#000000##000000
##54931F1.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)
#90822C
Tritanopia (blue-blind)
#538D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #54931f;
/* rgb */ color: rgb(84, 147, 31);
/* oklch */ color: oklch(59.8% 0.158 134.4);
Tailwind
colors: {
  custom: {
    50: '#8ab364',
    500: '#54931f',
    950: '#000000',
  },
}
SCSS
$custom: #54931f;
$custom-light: #8ab364;
$custom-dark: #000000;
JSON
{
  "hex": "#54931f",
  "rgb": {
    "r": 84,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 92.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.15831,
    "h": 134.4
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#54931F
secondary
#8C50BE
accent
#40E89B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54931F

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

Preview Lab → · Contrast checker → · Palette generator →

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