#56902F#56902F

#56902F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.143 H 135.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#56902F
RGBrgb(86, 144, 47)
HSLhsl(96, 51%, 37%)
HSVhsv(96, 67%, 56%)
CMYKcmyk(40.3%, 0%, 67.4%, 43.5%)
CIE-LABlab(54.16, -36.35, 44.01)
CIE-LCHlch(54.16, 57.08, 129.56°)
OKLaboklab(59.26% -0.1012 0.1009)
OKLCHoklch(59.26% 0.143 135.1)
XYZxyz(14.3238, 22.1295, 6.2055)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56902F #692F90
analogous
#87902F #56902F #2F9038
triadic
#56902F #2F5690 #902F56
tetradic
#56902F #2F8790 #692F90 #90382F
square
#56902F #2F8790 #692F90 #90382F
split-complementary
#56902F #382F90 #902F87
monochromatic
#1F3411 #3A6220 #56902F #72BE3E #93CF6B

Accessibility & contrast

On white

3.87
#56902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#56902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56902F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56902F#FFFFFF#000000##000000
##56902F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958522
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#558B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #56902f;
/* rgb */ color: rgb(86, 144, 47);
/* oklch */ color: oklch(59.3% 0.143 135.1);
Tailwind
colors: {
  custom: {
    50: '#8ab16c',
    500: '#56902f',
    950: '#000000',
  },
}
SCSS
$custom: #56902f;
$custom-light: #8ab16c;
$custom-dark: #000000;
JSON
{
  "hex": "#56902f",
  "rgb": {
    "r": 86,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 95.876,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.14292,
    "h": 135.1
  },
  "luminance": 0.2213
}

Semantic roles & 50–950 ramp

primary
#56902F
secondary
#9565B6
accent
#4EDAA2
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #56902F

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

Preview Lab → · Contrast checker → · Palette generator →

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