#54931C#54931C

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

Color values

HEX#54931C
RGBrgb(84, 147, 28)
HSLhsl(92, 68%, 34%)
HSVhsv(92, 81%, 58%)
CMYKcmyk(42.9%, 0%, 81%, 42.4%)
CIE-LABlab(54.90, -39.69, 51.83)
CIE-LCHlch(54.90, 65.28, 127.44°)
OKLaboklab(59.8% -0.1115 0.1146)
OKLCHoklch(59.8% 0.16 134.2)
XYZxyz(14.2992, 22.8353, 4.7526)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54931C #5B1C93
analogous
#90931C #54931C #1C9320
triadic
#54931C #1C5493 #931C54
tetradic
#54931C #1C9093 #5B1C93 #93201C
square
#54931C #1C9093 #5B1C93 #93201C
split-complementary
#54931C #201C93 #931C90
monochromatic
#192C08 #376012 #54931C #71C626 #90DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54931c;
/* rgb */ color: rgb(84, 147, 28);
/* oklch */ color: oklch(59.8% 0.160 134.2);
Tailwind
colors: {
  custom: {
    50: '#8ab363',
    500: '#54931c',
    950: '#000000',
  },
}
SCSS
$custom: #54931c;
$custom-light: #8ab363;
$custom-dark: #000000;
JSON
{
  "hex": "#54931c",
  "rgb": {
    "r": 84,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 91.765,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.15984,
    "h": 134.2
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#54931C
secondary
#894CBF
accent
#3DEB99
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54931C

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

Preview Lab → · Contrast checker → · Palette generator →

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