#5E7618#5E7618

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

Color values

HEX#5E7618
RGBrgb(94, 118, 24)
HSLhsl(75, 66%, 28%)
HSVhsv(75, 80%, 46%)
CMYKcmyk(20.3%, 0%, 79.7%, 53.7%)
CIE-LABlab(46.18, -22.46, 45.21)
CIE-LCHlch(46.18, 50.48, 116.42°)
OKLaboklab(52.84% -0.0657 0.0997)
OKLCHoklch(52.84% 0.119 123.4)
XYZxyz(11.2595, 15.4024, 3.2438)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7618 #301876
analogous
#765F18 #5E7618 #2F7618
triadic
#5E7618 #185E76 #76185E
tetradic
#5E7618 #18765F #301876 #76182F
square
#5E7618 #18765F #301876 #76182F
split-complementary
#5E7618 #182F76 #5F1876
monochromatic
#141905 #35430E #5E7618 #87A922 #ACD533

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7618#FFFFFF#000000##FFFFFF
##5E76181.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)
#7D6E02
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#637064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7618;
/* rgb */ color: rgb(94, 118, 24);
/* oklch */ color: oklch(52.8% 0.119 123.4);
Tailwind
colors: {
  custom: {
    50: '#8f9d5d',
    500: '#5e7618',
    950: '#000000',
  },
}
SCSS
$custom: #5e7618;
$custom-light: #8f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7618",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 75.319,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.11943,
    "h": 123.4
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#5E7618
secondary
#5A3FAB
accent
#3FE96A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7618

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

Preview Lab → · Contrast checker → · Palette generator →

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