#5C751F#5C751F

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

Color values

HEX#5C751F
RGBrgb(92, 117, 31)
HSLhsl(77, 58%, 29%)
HSVhsv(77, 74%, 46%)
CMYKcmyk(21.4%, 0%, 73.5%, 54.1%)
CIE-LABlab(45.77, -22.41, 42.13)
CIE-LCHlch(45.77, 47.72, 118.01°)
OKLaboklab(52.48% -0.0648 0.0945)
OKLCHoklch(52.48% 0.115 124.5)
XYZxyz(11.0223, 15.0967, 3.6293)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C751F #381F75
analogous
#75631F #5C751F #31751F
triadic
#5C751F #1F5C75 #751F5C
tetradic
#5C751F #1F7563 #381F75 #751F31
square
#5C751F #1F7563 #381F75 #751F31
split-complementary
#5C751F #1F3175 #631F75
monochromatic
#131806 #364512 #5C751F #82A52C #A4CD42

Accessibility & contrast

On white

5.22
#5C751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C751F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C751F#FFFFFF#000000##FFFFFF
##5C751F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c751f;
/* rgb */ color: rgb(92, 117, 31);
/* oklch */ color: oklch(52.5% 0.115 124.5);
Tailwind
colors: {
  custom: {
    50: '#8d9c61',
    500: '#5c751f',
    950: '#000000',
  },
}
SCSS
$custom: #5c751f;
$custom-light: #8d9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c751f",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 77.442,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.11464,
    "h": 124.5
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#5C751F
secondary
#6347A9
accent
#46E173
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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