#57791D#57791D

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

Color values

HEX#57791D
RGBrgb(87, 121, 29)
HSLhsl(82, 61%, 29%)
HSVhsv(82, 76%, 47%)
CMYKcmyk(28.1%, 0%, 76%, 52.5%)
CIE-LABlab(46.70, -26.66, 43.72)
CIE-LCHlch(46.70, 51.21, 121.37°)
OKLaboklab(53.15% -0.0763 0.0977)
OKLCHoklch(53.15% 0.124 128)
XYZxyz(10.9896, 15.7894, 3.6308)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791D #3F1D79
analogous
#796D1D #57791D #29791D
triadic
#57791D #1D5779 #791D57
tetradic
#57791D #1D796D #3F1D79 #791D29
square
#57791D #1D796D #3F1D79 #791D29
split-complementary
#57791D #1D2979 #6D1D79
monochromatic
#121906 #344811 #57791D #7AAA29 #9BD13F

Accessibility & contrast

On white

5.05
#57791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#57791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57791D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57791D#FFFFFF#000000##FFFFFF
##57791D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791d;
/* rgb */ color: rgb(87, 121, 29);
/* oklch */ color: oklch(53.1% 0.124 128.0);
Tailwind
colors: {
  custom: {
    50: '#8aa060',
    500: '#57791d',
    950: '#000000',
  },
}
SCSS
$custom: #57791d;
$custom-light: #8aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#57791d",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 82.174,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.12396,
    "h": 128
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#57791D
secondary
#6B45AD
accent
#43E47F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791D

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

Preview Lab → · Contrast checker → · Palette generator →

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