#56931F#56931F

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

Color values

HEX#56931F
RGBrgb(86, 147, 31)
HSLhsl(92, 65%, 35%)
HSVhsv(92, 79%, 58%)
CMYKcmyk(41.5%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.01, -38.82, 51.01)
CIE-LCHlch(55.01, 64.10, 127.27°)
OKLaboklab(59.92% -0.1091 0.1133)
OKLCHoklch(59.92% 0.157 133.9)
XYZxyz(14.5185, 22.9440, 4.9597)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56931F #5C1F93
analogous
#90931F #56931F #1F9322
triadic
#56931F #1F5693 #931F56
tetradic
#56931F #1F9093 #5C1F93 #93221F
square
#56931F #1F9093 #5C1F93 #93221F
split-complementary
#56931F #221F93 #931F90
monochromatic
#1B2E0A #386014 #56931F #74C62A #93DA52

Accessibility & contrast

On white

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

On black

5.59
#56931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56931F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56931F#FFFFFF#000000##000000
##56931F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56931f;
/* rgb */ color: rgb(86, 147, 31);
/* oklch */ color: oklch(59.9% 0.157 133.9);
Tailwind
colors: {
  custom: {
    50: '#8bb365',
    500: '#56931f',
    950: '#000000',
  },
}
SCSS
$custom: #56931f;
$custom-light: #8bb365;
$custom-dark: #000000;
JSON
{
  "hex": "#56931f",
  "rgb": {
    "r": 86,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 91.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.15725,
    "h": 133.9
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#56931F
secondary
#8A50BE
accent
#40E898
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #56931F

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

Preview Lab → · Contrast checker → · Palette generator →

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