#5C751D#5C751D

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

Color values

HEX#5C751D
RGBrgb(92, 117, 29)
HSLhsl(77, 60%, 29%)
HSVhsv(77, 75%, 46%)
CMYKcmyk(21.4%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.75, -22.54, 42.91)
CIE-LCHlch(45.75, 48.47, 117.71°)
OKLaboklab(52.47% -0.0654 0.0958)
OKLCHoklch(52.47% 0.116 124.3)
XYZxyz(10.9968, 15.0865, 3.4948)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C751D #361D75
analogous
#75621D #5C751D #30751D
triadic
#5C751D #1D5C75 #751D5C
tetradic
#5C751D #1D7562 #361D75 #751D30
square
#5C751D #1D7562 #361D75 #751D30
split-complementary
#5C751D #1D3075 #621D75
monochromatic
#131906 #354411 #5C751D #83A629 #A6CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C751D#FFFFFF#000000##FFFFFF
##5C751D1.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)
#7C6D0D
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c751d;
/* rgb */ color: rgb(92, 117, 29);
/* oklch */ color: oklch(52.5% 0.116 124.3);
Tailwind
colors: {
  custom: {
    50: '#8d9c60',
    500: '#5c751d',
    950: '#000000',
  },
}
SCSS
$custom: #5c751d;
$custom-light: #8d9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c751d",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 77.045,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.11601,
    "h": 124.3
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#5C751D
secondary
#6145A9
accent
#44E372
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C751D

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

Preview Lab → · Contrast checker → · Palette generator →

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