#56931A#56931A

#56931A is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.9% C 0.160 H 133.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#56931A
RGBrgb(86, 147, 26)
HSLhsl(90, 70%, 34%)
HSVhsv(90, 82%, 58%)
CMYKcmyk(41.5%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.99, -39.08, 52.54)
CIE-LCHlch(54.99, 65.48, 126.64°)
OKLaboklab(59.89% -0.1101 0.1157)
OKLCHoklch(59.89% 0.16 133.6)
XYZxyz(14.4577, 22.9197, 4.6392)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56931A #571A93
analogous
#93931A #56931A #1A931B
triadic
#56931A #1A5693 #931A56
tetradic
#56931A #1A9393 #571A93 #931B1A
square
#56931A #1A9393 #571A93 #931B1A
split-complementary
#56931A #1B1A93 #931A93
monochromatic
#192B08 #385F11 #56931A #74C723 #93DF49

Accessibility & contrast

On white

3.76
#56931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#56931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56931A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56931A#FFFFFF#000000##000000
##56931A1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56931a;
/* rgb */ color: rgb(86, 147, 26);
/* oklch */ color: oklch(59.9% 0.160 133.6);
Tailwind
colors: {
  custom: {
    50: '#8bb362',
    500: '#56931a',
    950: '#000000',
  },
}
SCSS
$custom: #56931a;
$custom-light: #8bb362;
$custom-dark: #000000;
JSON
{
  "hex": "#56931a",
  "rgb": {
    "r": 86,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 90.248,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.15972,
    "h": 133.6
  },
  "luminance": 0.2292
}

Semantic roles & 50–950 ramp

primary
#56931A
secondary
#8548C0
accent
#3BED95
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #56931A

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

Preview Lab → · Contrast checker → · Palette generator →

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