#5E7923#5E7923

#5E7923 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.116 H 125.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E7923
RGBrgb(94, 121, 35)
HSLhsl(79, 55%, 31%)
HSVhsv(79, 71%, 47%)
CMYKcmyk(22.3%, 0%, 71.1%, 52.5%)
CIE-LABlab(47.20, -23.30, 41.98)
CIE-LCHlch(47.20, 48.01, 119.04°)
OKLaboklab(53.69% -0.0671 0.0948)
OKLCHoklch(53.69% 0.116 125.3)
XYZxyz(11.7569, 16.1756, 4.0926)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7923 #3E2379
analogous
#796923 #5E7923 #337923
triadic
#5E7923 #235E79 #79235E
tetradic
#5E7923 #237969 #3E2379 #792333
square
#5E7923 #237969 #3E2379 #792333
split-complementary
#5E7923 #233379 #692379
monochromatic
#141A08 #394A15 #5E7923 #83A831 #A3CB4B

Accessibility & contrast

On white

4.96
#5E7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7923
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7923#FFFFFF#000000##FFFFFF
##5E79231.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#627368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7923;
/* rgb */ color: rgb(94, 121, 35);
/* oklch */ color: oklch(53.7% 0.116 125.3);
Tailwind
colors: {
  custom: {
    50: '#8e9f63',
    500: '#5e7923',
    950: '#000000',
  },
}
SCSS
$custom: #5e7923;
$custom-light: #8e9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7923",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 78.837,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.11614,
    "h": 125.3
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

primary
#5E7923
secondary
#6A4CAC
accent
#49DE78
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7923

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

Preview Lab → · Contrast checker → · Palette generator →

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