#5E7623#5E7623

#5E7623 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.112 H 124.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E7623
RGBrgb(94, 118, 35)
HSLhsl(77, 54%, 30%)
HSVhsv(77, 70%, 46%)
CMYKcmyk(20.3%, 0%, 70.3%, 53.7%)
CIE-LABlab(46.25, -21.77, 41.00)
CIE-LCHlch(46.25, 46.42, 117.97°)
OKLaboklab(52.93% -0.0628 0.0928)
OKLCHoklch(52.93% 0.112 124.1)
XYZxyz(11.3980, 15.4578, 3.9730)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7623 #3B2376
analogous
#766423 #5E7623 #357623
triadic
#5E7623 #235E76 #76235E
tetradic
#5E7623 #237664 #3B2376 #762335
square
#5E7623 #237664 #3B2376 #762335
split-complementary
#5E7623 #233576 #642376
monochromatic
#131807 #384715 #5E7623 #84A531 #A5C94A

Accessibility & contrast

On white

5.13
#5E7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5E7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7623
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7623#FFFFFF#000000##FFFFFF
##5E76231.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E17
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#637065
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7623;
/* rgb */ color: rgb(94, 118, 35);
/* oklch */ color: oklch(52.9% 0.112 124.1);
Tailwind
colors: {
  custom: {
    50: '#8e9d63',
    500: '#5e7623',
    950: '#000000',
  },
}
SCSS
$custom: #5e7623;
$custom-light: #8e9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7623",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 77.349,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.11205,
    "h": 124.1
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#5E7623
secondary
#674CA9
accent
#4ADE75
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E05
muted
#7D7E7A

Preview Lab

Preview with #5E7623

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

Preview Lab → · Contrast checker → · Palette generator →

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