#56901F#56901F

#56901F is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.1% C 0.153 H 133.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#56901F
RGBrgb(86, 144, 31)
HSLhsl(91, 65%, 34%)
HSVhsv(91, 78%, 56%)
CMYKcmyk(40.3%, 0%, 78.5%, 43.5%)
CIE-LABlab(54.05, -37.52, 50.10)
CIE-LCHlch(54.05, 62.59, 126.83°)
OKLaboklab(59.13% -0.1056 0.1114)
OKLCHoklch(59.13% 0.153 133.5)
XYZxyz(14.0581, 22.0232, 4.8062)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56901F #591F90
analogous
#8F901F #56901F #1F9020
triadic
#56901F #1F5690 #901F56
tetradic
#56901F #1F8F90 #591F90 #90201F
square
#56901F #1F8F90 #591F90 #90201F
split-complementary
#56901F #201F90 #901F8F
monochromatic
#1A2B09 #385E14 #56901F #74C22A #93D950

Accessibility & contrast

On white

3.89
#56901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#56901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56901F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56901F#FFFFFF#000000##000000
##56901F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#568A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #56901f;
/* rgb */ color: rgb(86, 144, 31);
/* oklch */ color: oklch(59.1% 0.153 133.5);
Tailwind
colors: {
  custom: {
    50: '#8bb164',
    500: '#56901f',
    950: '#000000',
  },
}
SCSS
$custom: #56901f;
$custom-light: #8bb164;
$custom-dark: #000000;
JSON
{
  "hex": "#56901f",
  "rgb": {
    "r": 86,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 90.796,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.15345,
    "h": 133.5
  },
  "luminance": 0.22024
}

Semantic roles & 50–950 ramp

primary
#56901F
secondary
#874EBC
accent
#40E896
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56901F

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

Preview Lab → · Contrast checker → · Palette generator →

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