#5E751A#5E751A

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

Color values

HEX#5E751A
RGBrgb(94, 117, 26)
HSLhsl(75, 64%, 28%)
HSVhsv(75, 78%, 46%)
CMYKcmyk(19.7%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.88, -21.84, 44.21)
CIE-LCHlch(45.88, 49.31, 116.29°)
OKLaboklab(52.6% -0.0639 0.098)
OKLCHoklch(52.6% 0.117 123.1)
XYZxyz(11.1640, 15.1768, 3.3183)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E751A #311A75
analogous
#755E1A #5E751A #30751A
triadic
#5E751A #1A5E75 #751A5E
tetradic
#5E751A #1A755E #311A75 #751A30
square
#5E751A #1A755E #311A75 #751A30
split-complementary
#5E751A #1A3075 #5E1A75
monochromatic
#141906 #36430F #5E751A #86A725 #ABD337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E751A#FFFFFF#000000##FFFFFF
##5E751A1.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)
#7C6D06
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e751a;
/* rgb */ color: rgb(94, 117, 26);
/* oklch */ color: oklch(52.6% 0.117 123.1);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5e751a',
    950: '#000000',
  },
}
SCSS
$custom: #5e751a;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e751a",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 75.165,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.11696,
    "h": 123.1
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#5E751A
secondary
#5C41AA
accent
#41E76B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E751A

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

Preview Lab → · Contrast checker → · Palette generator →

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