#56902A#56902A

#56902A is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.2% C 0.147 H 134.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#56902A
RGBrgb(86, 144, 42)
HSLhsl(94, 55%, 36%)
HSVhsv(94, 71%, 56%)
CMYKcmyk(40.3%, 0%, 70.8%, 43.5%)
CIE-LABlab(54.12, -36.77, 46.07)
CIE-LCHlch(54.12, 58.94, 128.60°)
OKLaboklab(59.22% -0.1027 0.1046)
OKLCHoklch(59.22% 0.147 134.5)
XYZxyz(14.2286, 22.0914, 5.7044)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56902A #642A90
analogous
#89902A #56902A #2A9031
triadic
#56902A #2A5690 #902A56
tetradic
#56902A #2A8990 #642A90 #90312A
square
#56902A #2A8990 #642A90 #90312A
split-complementary
#56902A #312A90 #902A89
monochromatic
#1D310E #3A611C #56902A #72BF38 #93D163

Accessibility & contrast

On white

3.88
#56902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#56902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56902A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56902A#FFFFFF#000000##000000
##56902A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96841A
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#558A7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #56902a;
/* rgb */ color: rgb(86, 144, 42);
/* oklch */ color: oklch(59.2% 0.147 134.5);
Tailwind
colors: {
  custom: {
    50: '#8ab16a',
    500: '#56902a',
    950: '#000000',
  },
}
SCSS
$custom: #56902a;
$custom-light: #8ab16a;
$custom-dark: #000000;
JSON
{
  "hex": "#56902a",
  "rgb": {
    "r": 86,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 94.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.1466,
    "h": 134.5
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#56902A
secondary
#915EB7
accent
#4ADE9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #56902A

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

Preview Lab → · Contrast checker → · Palette generator →

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