#5F7115#5F7115

#5F7115 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.114 H 120.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5F7115
RGBrgb(95, 113, 21)
HSLhsl(72, 69%, 26%)
HSVhsv(72, 81%, 44%)
CMYKcmyk(15.9%, 0%, 81.4%, 55.7%)
CIE-LABlab(44.66, -19.57, 44.84)
CIE-LCHlch(44.66, 48.92, 113.58°)
OKLaboklab(51.62% -0.0581 0.0984)
OKLCHoklch(51.62% 0.114 120.6)
XYZxyz(10.7600, 14.2973, 2.9021)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7115 #271571
analogous
#715515 #5F7115 #317115
triadic
#5F7115 #155F71 #71155F
tetradic
#5F7115 #157155 #271571 #711531
square
#5F7115 #157155 #271571 #711531
split-complementary
#5F7115 #153171 #551571
monochromatic
#161A05 #343D0B #5F7115 #8AA51F #B5D729

Accessibility & contrast

On white

5.44
#5F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5F7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7115
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7115#FFFFFF#000000##FFFFFF
##5F71151.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#656B60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f7115;
/* rgb */ color: rgb(95, 113, 21);
/* oklch */ color: oklch(51.6% 0.114 120.6);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5f7115',
    950: '#000000',
  },
}
SCSS
$custom: #5f7115;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7115",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 71.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.11426,
    "h": 120.6
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#5F7115
secondary
#503BA7
accent
#3CEB5F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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