#5E7613#5E7613

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

Color values

HEX#5E7613
RGBrgb(94, 118, 19)
HSLhsl(75, 72%, 27%)
HSVhsv(75, 84%, 46%)
CMYKcmyk(20.3%, 0%, 83.9%, 53.7%)
CIE-LABlab(46.16, -22.69, 46.79)
CIE-LCHlch(46.16, 52.00, 115.87°)
OKLaboklab(52.81% -0.0668 0.1022)
OKLCHoklch(52.81% 0.122 123.2)
XYZxyz(11.2122, 15.3835, 2.9946)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7613 #2B1376
analogous
#765D13 #5E7613 #2D7613
triadic
#5E7613 #135E76 #76135E
tetradic
#5E7613 #13765D #2B1376 #76132D
square
#5E7613 #13765D #2B1376 #76132D
split-complementary
#5E7613 #132D76 #5D1376
monochromatic
#151A04 #34410B #5E7613 #88AB1B #B0DC27

Accessibility & contrast

On white

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

On black

4.08
#5E7613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E7613#FFFFFF#000000##FFFFFF
##5E76131.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7613;
/* rgb */ color: rgb(94, 118, 19);
/* oklch */ color: oklch(52.8% 0.122 123.2);
Tailwind
colors: {
  custom: {
    50: '#8f9d5b',
    500: '#5e7613',
    950: '#000000',
  },
}
SCSS
$custom: #5e7613;
$custom-light: #8f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7613",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 74.545,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.12207,
    "h": 123.2
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#5E7613
secondary
#5539AC
accent
#39EF65
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7613

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

Preview Lab → · Contrast checker → · Palette generator →

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