#5E931F#5E931F

#5E931F is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.4% C 0.153 H 131.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5E931F
RGBrgb(94, 147, 31)
HSLhsl(87, 65%, 35%)
HSVhsv(87, 79%, 58%)
CMYKcmyk(36.1%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.43, -35.90, 51.55)
CIE-LCHlch(55.43, 62.82, 124.85°)
OKLaboklab(60.37% -0.1017 0.1142)
OKLCHoklch(60.37% 0.153 131.7)
XYZxyz(15.2970, 23.3454, 4.9962)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E931F #541F93
analogous
#938E1F #5E931F #24931F
triadic
#5E931F #1F5E93 #931F5E
tetradic
#5E931F #1F938E #541F93 #931F24
square
#5E931F #1F938E #541F93 #931F24
split-complementary
#5E931F #1F2493 #8E1F93
monochromatic
#1D2E0A #3E6014 #5E931F #7EC62A #9CDA52

Accessibility & contrast

On white

3.70
#5E931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5E931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E931F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E931F#FFFFFF#000000##000000
##5E931F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#5F8D7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e931f;
/* rgb */ color: rgb(94, 147, 31);
/* oklch */ color: oklch(60.4% 0.153 131.7);
Tailwind
colors: {
  custom: {
    50: '#90b365',
    500: '#5e931f',
    950: '#000000',
  },
}
SCSS
$custom: #5e931f;
$custom-light: #90b365;
$custom-dark: #000000;
JSON
{
  "hex": "#5e931f",
  "rgb": {
    "r": 94,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 87.414,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.15296,
    "h": 131.7
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#5E931F
secondary
#8250BE
accent
#40E88D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E931F

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

Preview Lab → · Contrast checker → · Palette generator →

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