#56921F#56921F

#56921F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.156 H 133.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#56921F
RGBrgb(86, 146, 31)
HSLhsl(91, 65%, 35%)
HSVhsv(91, 79%, 57%)
CMYKcmyk(41.1%, 0%, 78.8%, 42.7%)
CIE-LABlab(54.69, -38.39, 50.71)
CIE-LCHlch(54.69, 63.60, 127.13°)
OKLaboklab(59.66% -0.1079 0.1126)
OKLCHoklch(59.66% 0.156 133.8)
XYZxyz(14.3637, 22.6344, 4.9081)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56921F #5B1F92
analogous
#90921F #56921F #1F9221
triadic
#56921F #1F5692 #921F56
tetradic
#56921F #1F9092 #5B1F92 #92211F
square
#56921F #1F9092 #5B1F92 #92211F
split-complementary
#56921F #211F92 #921F90
monochromatic
#1B2D0A #386014 #56921F #74C42A #93DA51

Accessibility & contrast

On white

3.80
#56921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#56921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56921F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56921F#FFFFFF#000000##000000
##56921F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#568C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #56921f;
/* rgb */ color: rgb(86, 146, 31);
/* oklch */ color: oklch(59.7% 0.156 133.8);
Tailwind
colors: {
  custom: {
    50: '#8bb264',
    500: '#56921f',
    950: '#000000',
  },
}
SCSS
$custom: #56921f;
$custom-light: #8bb264;
$custom-dark: #000000;
JSON
{
  "hex": "#56921f",
  "rgb": {
    "r": 86,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 91.304,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.15599,
    "h": 133.8
  },
  "luminance": 0.22635
}

Semantic roles & 50–950 ramp

primary
#56921F
secondary
#8950BD
accent
#40E898
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #56921F

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

Preview Lab → · Contrast checker → · Palette generator →

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