#5E760F#5E760F

#5E760F is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.124 H 123.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E760F
RGBrgb(94, 118, 15)
HSLhsl(74, 77%, 26%)
HSVhsv(74, 87%, 46%)
CMYKcmyk(20.3%, 0%, 87.3%, 53.7%)
CIE-LABlab(46.14, -22.85, 47.89)
CIE-LCHlch(46.14, 53.06, 115.50°)
OKLaboklab(52.79% -0.0675 0.1038)
OKLCHoklch(52.79% 0.124 123)
XYZxyz(11.1809, 15.3710, 2.8297)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E760F #270F76
analogous
#765A0F #5E760F #2A760F
triadic
#5E760F #0F5E76 #760F5E
tetradic
#5E760F #0F765A #270F76 #760F2A
square
#5E760F #0F765A #270F76 #760F2A
split-complementary
#5E760F #0F2A76 #5A0F76
monochromatic
#161B03 #334008 #5E760F #89AC16 #B4E21D

Accessibility & contrast

On white

5.15
#5E760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5E760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E760F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E760F#FFFFFF#000000##FFFFFF
##5E760F1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#637064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e760f;
/* rgb */ color: rgb(94, 118, 15);
/* oklch */ color: oklch(52.8% 0.124 123.0);
Tailwind
colors: {
  custom: {
    50: '#8f9d5a',
    500: '#5e760f',
    950: '#000000',
  },
}
SCSS
$custom: #5e760f;
$custom-light: #8f9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e760f",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 73.981,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.12383,
    "h": 123
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#5E760F
secondary
#5033AD
accent
#34F461
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E760F

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

Preview Lab → · Contrast checker → · Palette generator →

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