#56941F#56941F

#56941F is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.2% C 0.159 H 134.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#56941F
RGBrgb(86, 148, 31)
HSLhsl(92, 65%, 35%)
HSVhsv(92, 79%, 58%)
CMYKcmyk(41.9%, 0%, 79.1%, 42%)
CIE-LABlab(55.34, -39.25, 51.32)
CIE-LCHlch(55.34, 64.60, 127.41°)
OKLaboklab(60.19% -0.1102 0.1139)
OKLCHoklch(60.19% 0.159 134.1)
XYZxyz(14.6747, 23.2564, 5.0118)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56941F #5D1F94
analogous
#90941F #56941F #1F9423
triadic
#56941F #1F5694 #941F56
tetradic
#56941F #1F9094 #5D1F94 #94231F
square
#56941F #1F9094 #5D1F94 #94231F
split-complementary
#56941F #231F94 #941F90
monochromatic
#1B2F0A #396114 #56941F #73C72A #93DB53

Accessibility & contrast

On white

3.72
#56941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#56941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56941F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56941F#FFFFFF#000000##000000
##56941F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#558E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #56941f;
/* rgb */ color: rgb(86, 148, 31);
/* oklch */ color: oklch(60.2% 0.159 134.1);
Tailwind
colors: {
  custom: {
    50: '#8bb465',
    500: '#56941f',
    950: '#000000',
  },
}
SCSS
$custom: #56941f;
$custom-light: #8bb465;
$custom-dark: #000000;
JSON
{
  "hex": "#56941f",
  "rgb": {
    "r": 86,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 91.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.15851,
    "h": 134.1
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#56941F
secondary
#8B51BE
accent
#3FE899
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #56941F

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

Preview Lab → · Contrast checker → · Palette generator →

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