#56791A#56791A

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

Color values

HEX#56791A
RGBrgb(86, 121, 26)
HSLhsl(82, 65%, 29%)
HSVhsv(82, 79%, 47%)
CMYKcmyk(28.9%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.61, -27.26, 44.73)
CIE-LCHlch(46.61, 52.38, 121.36°)
OKLaboklab(53.06% -0.0781 0.0993)
OKLCHoklch(53.06% 0.126 128.2)
XYZxyz(10.8616, 15.7275, 3.4405)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56791A #3D1A79
analogous
#796D1A #56791A #27791A
triadic
#56791A #1A5679 #791A56
tetradic
#56791A #1A796D #3D1A79 #791A27
square
#56791A #1A796D #3D1A79 #791A27
split-complementary
#56791A #1A2779 #6D1A79
monochromatic
#121905 #32470F #56791A #7AAB25 #9BD439

Accessibility & contrast

On white

5.07
#56791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56791A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56791A#FFFFFF#000000##FFFFFF
##56791A1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#597367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #56791a;
/* rgb */ color: rgb(86, 121, 26);
/* oklch */ color: oklch(53.1% 0.126 128.2);
Tailwind
colors: {
  custom: {
    50: '#89a05f',
    500: '#56791a',
    950: '#000000',
  },
}
SCSS
$custom: #56791a;
$custom-light: #89a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#56791a",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 82.105,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.12635,
    "h": 128.2
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#56791A
secondary
#6941AD
accent
#40E87E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56791A

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

Preview Lab → · Contrast checker → · Palette generator →

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