#56791E#56791E

#56791E is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.124 H 128.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#56791E
RGBrgb(86, 121, 30)
HSLhsl(83, 60%, 30%)
HSVhsv(83, 75%, 47%)
CMYKcmyk(28.9%, 0%, 75.2%, 52.5%)
CIE-LABlab(46.64, -27.01, 43.26)
CIE-LCHlch(46.64, 51.00, 121.98°)
OKLaboklab(53.09% -0.0771 0.0969)
OKLCHoklch(53.09% 0.124 128.5)
XYZxyz(10.9095, 15.7466, 3.6927)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56791E #411E79
analogous
#796F1E #56791E #29791E
triadic
#56791E #1E5679 #791E56
tetradic
#56791E #1E796F #411E79 #791E29
square
#56791E #1E796F #411E79 #791E29
split-complementary
#56791E #1E2979 #6F1E79
monochromatic
#111906 #334812 #56791E #79AA2A #99D041

Accessibility & contrast

On white

5.06
#56791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#56791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56791E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56791E#FFFFFF#000000##FFFFFF
##56791E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#597367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #56791e;
/* rgb */ color: rgb(86, 121, 30);
/* oklch */ color: oklch(53.1% 0.124 128.5);
Tailwind
colors: {
  custom: {
    50: '#89a061',
    500: '#56791e',
    950: '#000000',
  },
}
SCSS
$custom: #56791e;
$custom-light: #89a061;
$custom-dark: #000000;
JSON
{
  "hex": "#56791e",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 83.077,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.12385,
    "h": 128.5
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#56791E
secondary
#6E46AD
accent
#44E382
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56791E

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

Preview Lab → · Contrast checker → · Palette generator →

#56791E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva