#57791C#57791C

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

Color values

HEX#57791C
RGBrgb(87, 121, 28)
HSLhsl(82, 62%, 29%)
HSVhsv(82, 77%, 47%)
CMYKcmyk(28.1%, 0%, 76.9%, 52.5%)
CIE-LABlab(46.69, -26.72, 44.09)
CIE-LCHlch(46.69, 51.56, 121.22°)
OKLaboklab(53.14% -0.0766 0.0983)
OKLCHoklch(53.14% 0.125 127.9)
XYZxyz(10.9775, 15.7846, 3.5668)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791C #3E1C79
analogous
#796D1C #57791C #29791C
triadic
#57791C #1C5779 #791C57
tetradic
#57791C #1C796D #3E1C79 #791C29
square
#57791C #1C796D #3E1C79 #791C29
split-complementary
#57791C #1C2979 #6D1C79
monochromatic
#121906 #334710 #57791C #7BAB28 #9CD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57791C#FFFFFF#000000##FFFFFF
##57791C1.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)
#7F7009
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791c;
/* rgb */ color: rgb(87, 121, 28);
/* oklch */ color: oklch(53.1% 0.125 127.9);
Tailwind
colors: {
  custom: {
    50: '#8aa060',
    500: '#57791c',
    950: '#000000',
  },
}
SCSS
$custom: #57791c;
$custom-light: #8aa060;
$custom-dark: #000000;
JSON
{
  "hex": "#57791c",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 81.935,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.1246,
    "h": 127.9
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#57791C
secondary
#6A44AD
accent
#42E57E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791C

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

Preview Lab → · Contrast checker → · Palette generator →

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