#56901C#56901C

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

Color values

HEX#56901C
RGBrgb(86, 144, 28)
HSLhsl(90, 67%, 34%)
HSVhsv(90, 81%, 56%)
CMYKcmyk(40.3%, 0%, 80.6%, 43.5%)
CIE-LABlab(54.04, -37.69, 51.06)
CIE-LCHlch(54.04, 63.46, 126.44°)
OKLaboklab(59.11% -0.1062 0.1129)
OKLCHoklch(59.11% 0.155 133.3)
XYZxyz(14.0204, 22.0081, 4.6076)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56901C #561C90
analogous
#90901C #56901C #1C901C
triadic
#56901C #1C5690 #901C56
tetradic
#56901C #1C9090 #561C90 #901C1C
square
#56901C #1C9090 #561C90 #901C1C
split-complementary
#56901C #1C1C90 #901C90
monochromatic
#192A08 #375D12 #56901C #75C326 #93DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56901C#FFFFFF#000000##000000
##56901C1.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)
#968400
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#568A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #56901c;
/* rgb */ color: rgb(86, 144, 28);
/* oklch */ color: oklch(59.1% 0.155 133.3);
Tailwind
colors: {
  custom: {
    50: '#8bb163',
    500: '#56901c',
    950: '#000000',
  },
}
SCSS
$custom: #56901c;
$custom-light: #8bb163;
$custom-dark: #000000;
JSON
{
  "hex": "#56901c",
  "rgb": {
    "r": 86,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.15502,
    "h": 133.3
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#56901C
secondary
#844ABE
accent
#3DEA94
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56901C

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

Preview Lab → · Contrast checker → · Palette generator →

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