#5C751C#5C751C

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

Color values

HEX#5C751C
RGBrgb(92, 117, 28)
HSLhsl(77, 61%, 28%)
HSVhsv(77, 76%, 46%)
CMYKcmyk(21.4%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.75, -22.60, 43.29)
CIE-LCHlch(45.75, 48.83, 117.56°)
OKLaboklab(52.46% -0.0656 0.0964)
OKLCHoklch(52.46% 0.117 124.2)
XYZxyz(10.9846, 15.0816, 3.4307)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C751C #351C75
analogous
#75611C #5C751C #2F751C
triadic
#5C751C #1C5C75 #751C5C
tetradic
#5C751C #1C7561 #351C75 #751C2F
square
#5C751C #1C7561 #351C75 #751C2F
split-complementary
#5C751C #1C2F75 #611C75
monochromatic
#131906 #354410 #5C751C #83A628 #A6D03B

Accessibility & contrast

On white

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

On black

4.02
#5C751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C751C#FFFFFF#000000##FFFFFF
##5C751C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c751c;
/* rgb */ color: rgb(92, 117, 28);
/* oklch */ color: oklch(52.5% 0.117 124.2);
Tailwind
colors: {
  custom: {
    50: '#8d9c5f',
    500: '#5c751c',
    950: '#000000',
  },
}
SCSS
$custom: #5c751c;
$custom-light: #8d9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c751c",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 76.854,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.11667,
    "h": 124.2
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#5C751C
secondary
#6044A9
accent
#43E471
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C751C

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

Preview Lab → · Contrast checker → · Palette generator →

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