#5E751F#5E751F

#5E751F is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.114 H 123.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E751F
RGBrgb(94, 117, 31)
HSLhsl(76, 58%, 29%)
HSVhsv(76, 74%, 46%)
CMYKcmyk(19.7%, 0%, 73.5%, 54.1%)
CIE-LABlab(45.91, -21.54, 42.32)
CIE-LCHlch(45.91, 47.48, 116.97°)
OKLaboklab(52.64% -0.0626 0.0949)
OKLCHoklch(52.64% 0.114 123.4)
XYZxyz(11.2248, 15.2011, 3.6388)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E751F #361F75
analogous
#75611F #5E751F #33751F
triadic
#5E751F #1F5E75 #751F5E
tetradic
#5E751F #1F7561 #361F75 #751F33
square
#5E751F #1F7561 #361F75 #751F33
split-complementary
#5E751F #1F3375 #611F75
monochromatic
#131806 #374512 #5E751F #85A52C #A8CD42

Accessibility & contrast

On white

5.20
#5E751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5E751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E751F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E751F#FFFFFF#000000##FFFFFF
##5E751F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e751f;
/* rgb */ color: rgb(94, 117, 31);
/* oklch */ color: oklch(52.6% 0.114 123.4);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5e751f',
    950: '#000000',
  },
}
SCSS
$custom: #5e751f;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e751f",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 76.047,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.11365,
    "h": 123.4
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#5E751F
secondary
#6147A9
accent
#46E170
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5E751F

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

Preview Lab → · Contrast checker → · Palette generator →

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