#5F7D14#5F7D14

#5F7D14 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.130 H 125.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5F7D14
RGBrgb(95, 125, 20)
HSLhsl(77, 72%, 28%)
HSVhsv(77, 84%, 49%)
CMYKcmyk(24%, 0%, 84%, 51%)
CIE-LABlab(48.45, -25.72, 48.57)
CIE-LCHlch(48.45, 54.96, 117.90°)
OKLaboklab(54.69% -0.075 0.1061)
OKLCHoklch(54.69% 0.13 125.3)
XYZxyz(12.1793, 17.1505, 3.3304)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7D14 #32147D
analogous
#7D6614 #5F7D14 #2A7D14
triadic
#5F7D14 #145F7D #7D145F
tetradic
#5F7D14 #147D66 #32147D #7D142A
square
#5F7D14 #147D66 #32147D #7D142A
split-complementary
#5F7D14 #142A7D #66147D
monochromatic
#141A04 #37480C #5F7D14 #87B21C #ABDE2E

Accessibility & contrast

On white

4.74
#5F7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5F7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7D14
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7D14#FFFFFF#000000##FFFFFF
##5F7D141.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#64776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f7d14;
/* rgb */ color: rgb(95, 125, 20);
/* oklch */ color: oklch(54.7% 0.130 125.3);
Tailwind
colors: {
  custom: {
    50: '#90a25d',
    500: '#5f7d14',
    950: '#000000',
  },
}
SCSS
$custom: #5f7d14;
$custom-light: #90a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7d14",
  "rgb": {
    "r": 95,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 77.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.12994,
    "h": 125.3
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#5F7D14
secondary
#5D3AB2
accent
#39EF6D
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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