#56791D#56791D

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

Color values

HEX#56791D
RGBrgb(86, 121, 29)
HSLhsl(83, 61%, 29%)
HSVhsv(83, 76%, 47%)
CMYKcmyk(28.9%, 0%, 76%, 52.5%)
CIE-LABlab(46.63, -27.07, 43.64)
CIE-LCHlch(46.63, 51.36, 121.82°)
OKLaboklab(53.08% -0.0774 0.0975)
OKLCHoklch(53.08% 0.125 128.4)
XYZxyz(10.8969, 15.7416, 3.6265)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56791D #401D79
analogous
#796E1D #56791D #28791D
triadic
#56791D #1D5679 #791D56
tetradic
#56791D #1D796E #401D79 #791D28
square
#56791D #1D796E #401D79 #791D28
split-complementary
#56791D #1D2879 #6E1D79
monochromatic
#121906 #334811 #56791D #79AA29 #9AD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56791D#FFFFFF#000000##FFFFFF
##56791D1.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)
#7F700B
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#597367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #56791d;
/* rgb */ color: rgb(86, 121, 29);
/* oklch */ color: oklch(53.1% 0.124 128.4);
Tailwind
colors: {
  custom: {
    50: '#89a060',
    500: '#56791d',
    950: '#000000',
  },
}
SCSS
$custom: #56791d;
$custom-light: #89a060;
$custom-dark: #000000;
JSON
{
  "hex": "#56791d",
  "rgb": {
    "r": 86,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 82.826,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.1245,
    "h": 128.4
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

primary
#56791D
secondary
#6C45AD
accent
#43E481
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56791D

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

Preview Lab → · Contrast checker → · Palette generator →

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