#5C751A#5C751A

#5C751A is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.4% C 0.118 H 124.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5C751A
RGBrgb(92, 117, 26)
HSLhsl(76, 64%, 28%)
HSVhsv(76, 78%, 46%)
CMYKcmyk(21.4%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.73, -22.71, 44.02)
CIE-LCHlch(45.73, 49.54, 117.29°)
OKLaboklab(52.45% -0.0661 0.0977)
OKLCHoklch(52.45% 0.118 124.1)
XYZxyz(10.9615, 15.0724, 3.3089)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C751A #331A75
analogous
#75601A #5C751A #2E751A
triadic
#5C751A #1A5C75 #751A5C
tetradic
#5C751A #1A7560 #331A75 #751A2E
square
#5C751A #1A7560 #331A75 #751A2E
split-complementary
#5C751A #1A2E75 #601A75
monochromatic
#141906 #35430F #5C751A #83A725 #A8D337

Accessibility & contrast

On white

5.23
#5C751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C751A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C751A#FFFFFF#000000##FFFFFF
##5C751A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c751a;
/* rgb */ color: rgb(92, 117, 26);
/* oklch */ color: oklch(52.4% 0.118 124.1);
Tailwind
colors: {
  custom: {
    50: '#8d9c5e',
    500: '#5c751a',
    950: '#000000',
  },
}
SCSS
$custom: #5c751a;
$custom-light: #8d9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c751a",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 76.484,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52446,
    "c": 0.11795,
    "h": 124.1
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#5C751A
secondary
#5E41AA
accent
#41E76F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C751A

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

Preview Lab → · Contrast checker → · Palette generator →

#5C751A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva