#5F7E13#5F7E13

#5F7E13 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.132 H 125.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F7E13
RGBrgb(95, 126, 19)
HSLhsl(77, 74%, 28%)
HSVhsv(77, 85%, 49%)
CMYKcmyk(24.6%, 0%, 84.9%, 50.6%)
CIE-LABlab(48.76, -26.26, 49.13)
CIE-LCHlch(48.76, 55.71, 118.12°)
OKLaboklab(54.94% -0.0765 0.1071)
OKLCHoklch(54.94% 0.132 125.5)
XYZxyz(12.2978, 17.4014, 3.3269)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E13 #32137E
analogous
#7E6713 #5F7E13 #297E13
triadic
#5F7E13 #135F7E #7E135F
tetradic
#5F7E13 #137E67 #32137E #7E1329
square
#5F7E13 #137E67 #32137E #7E1329
split-complementary
#5F7E13 #13297E #67137E
monochromatic
#141B04 #37490B #5F7E13 #87B31B #ABDF2C

Accessibility & contrast

On white

4.69
#5F7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5F7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7E13
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E13#FFFFFF#000000##FFFFFF
##5F7E131.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f7e13;
/* rgb */ color: rgb(95, 126, 19);
/* oklch */ color: oklch(54.9% 0.132 125.5);
Tailwind
colors: {
  custom: {
    50: '#90a35d',
    500: '#5f7e13',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e13;
$custom-light: #90a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e13",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 77.383,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.13165,
    "h": 125.5
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#5F7E13
secondary
#5D39B4
accent
#37F06D
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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