#54931E#54931E

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

Color values

HEX#54931E
RGBrgb(84, 147, 30)
HSLhsl(92, 66%, 35%)
HSVhsv(92, 80%, 58%)
CMYKcmyk(42.9%, 0%, 79.6%, 42.4%)
CIE-LABlab(54.91, -39.58, 51.21)
CIE-LCHlch(54.91, 64.72, 127.70°)
OKLaboklab(59.81% -0.111 0.1136)
OKLCHoklch(59.81% 0.159 134.4)
XYZxyz(14.3239, 22.8452, 4.8829)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54931E #5D1E93
analogous
#8F931E #54931E #1E9323
triadic
#54931E #1E5493 #931E54
tetradic
#54931E #1E8F93 #5D1E93 #93231E
square
#54931E #1E8F93 #5D1E93 #93231E
split-complementary
#54931E #231E93 #931E8F
monochromatic
#1A2D09 #376014 #54931E #71C628 #90DB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54931e;
/* rgb */ color: rgb(84, 147, 30);
/* oklch */ color: oklch(59.8% 0.159 134.4);
Tailwind
colors: {
  custom: {
    50: '#8ab364',
    500: '#54931e',
    950: '#000000',
  },
}
SCSS
$custom: #54931e;
$custom-light: #8ab364;
$custom-dark: #000000;
JSON
{
  "hex": "#54931e",
  "rgb": {
    "r": 84,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 92.308,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.15884,
    "h": 134.4
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#54931E
secondary
#8B4FBE
accent
#3FE99A
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #54931E

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

Preview Lab → · Contrast checker → · Palette generator →

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