#5C751B#5C751B

#5C751B 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#5C751B
RGBrgb(92, 117, 27)
HSLhsl(77, 63%, 28%)
HSVhsv(77, 77%, 46%)
CMYKcmyk(21.4%, 0%, 76.9%, 54.1%)
CIE-LABlab(45.74, -22.66, 43.66)
CIE-LCHlch(45.74, 49.19, 117.43°)
OKLaboklab(52.45% -0.0659 0.0971)
OKLCHoklch(52.45% 0.117 124.2)
XYZxyz(10.9729, 15.0769, 3.3687)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C751B #341B75
analogous
#75611B #5C751B #2F751B
triadic
#5C751B #1B5C75 #751B5C
tetradic
#5C751B #1B7561 #341B75 #751B2F
square
#5C751B #1B7561 #341B75 #751B2F
split-complementary
#5C751B #1B2F75 #611B75
monochromatic
#141906 #354310 #5C751B #83A726 #A7D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C751B#FFFFFF#000000##FFFFFF
##5C751B1.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)
#7C6D08
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c751b;
/* rgb */ color: rgb(92, 117, 27);
/* oklch */ color: oklch(52.5% 0.117 124.2);
Tailwind
colors: {
  custom: {
    50: '#8d9c5f',
    500: '#5c751b',
    950: '#000000',
  },
}
SCSS
$custom: #5c751b;
$custom-light: #8d9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c751b",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 76.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.11732,
    "h": 124.2
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#5C751B
secondary
#5F42A9
accent
#42E670
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C751B

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

Preview Lab → · Contrast checker → · Palette generator →

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