#56791B#56791B

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

Color values

HEX#56791B
RGBrgb(86, 121, 27)
HSLhsl(82, 64%, 29%)
HSVhsv(82, 78%, 47%)
CMYKcmyk(28.9%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.62, -27.20, 44.37)
CIE-LCHlch(46.62, 52.04, 121.50°)
OKLaboklab(53.06% -0.0779 0.0987)
OKLCHoklch(53.06% 0.126 128.3)
XYZxyz(10.8730, 15.7320, 3.5004)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56791B #3E1B79
analogous
#796D1B #56791B #27791B
triadic
#56791B #1B5679 #791B56
tetradic
#56791B #1B796D #3E1B79 #791B27
square
#56791B #1B796D #3E1B79 #791B27
split-complementary
#56791B #1B2779 #6D1B79
monochromatic
#121906 #324710 #56791B #7AAB26 #9BD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56791B#FFFFFF#000000##FFFFFF
##56791B1.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)
#7F7006
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#597367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #56791b;
/* rgb */ color: rgb(86, 121, 27);
/* oklch */ color: oklch(53.1% 0.126 128.3);
Tailwind
colors: {
  custom: {
    50: '#89a05f',
    500: '#56791b',
    950: '#000000',
  },
}
SCSS
$custom: #56791b;
$custom-light: #89a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#56791b",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 82.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.12575,
    "h": 128.3
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#56791B
secondary
#6A43AD
accent
#41E77F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56791B

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

Preview Lab → · Contrast checker → · Palette generator →

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