#57791B#57791B

#57791B 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#57791B
RGBrgb(87, 121, 27)
HSLhsl(82, 64%, 29%)
HSVhsv(82, 78%, 47%)
CMYKcmyk(28.1%, 0%, 77.7%, 52.5%)
CIE-LABlab(46.68, -26.78, 44.46)
CIE-LCHlch(46.68, 51.90, 121.07°)
OKLaboklab(53.13% -0.0768 0.0989)
OKLCHoklch(53.13% 0.125 127.9)
XYZxyz(10.9657, 15.7799, 3.5048)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57791B #3D1B79
analogous
#796C1B #57791B #28791B
triadic
#57791B #1B5779 #791B57
tetradic
#57791B #1B796C #3D1B79 #791B28
square
#57791B #1B796C #3D1B79 #791B28
split-complementary
#57791B #1B2879 #6C1B79
monochromatic
#121906 #334710 #57791B #7BAB26 #9CD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57791B#FFFFFF#000000##FFFFFF
##57791B1.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)
#7F7006
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#5A7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #57791b;
/* rgb */ color: rgb(87, 121, 27);
/* oklch */ color: oklch(53.1% 0.125 127.9);
Tailwind
colors: {
  custom: {
    50: '#8aa05f',
    500: '#57791b',
    950: '#000000',
  },
}
SCSS
$custom: #57791b;
$custom-light: #8aa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#57791b",
  "rgb": {
    "r": 87,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 81.702,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.12522,
    "h": 127.9
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#57791B
secondary
#6943AD
accent
#41E77D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57791B

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

Preview Lab → · Contrast checker → · Palette generator →

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