#5F7114#5F7114

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

Color values

HEX#5F7114
RGBrgb(95, 113, 20)
HSLhsl(72, 70%, 26%)
HSVhsv(72, 82%, 44%)
CMYKcmyk(15.9%, 0%, 82.3%, 55.7%)
CIE-LABlab(44.65, -19.62, 45.16)
CIE-LCHlch(44.65, 49.24, 113.48°)
OKLaboklab(51.62% -0.0584 0.0989)
OKLCHoklch(51.62% 0.115 120.6)
XYZxyz(10.7509, 14.2937, 2.8543)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7114 #261471
analogous
#715414 #5F7114 #307114
triadic
#5F7114 #145F71 #71145F
tetradic
#5F7114 #147154 #261471 #711430
square
#5F7114 #147154 #261471 #711430
split-complementary
#5F7114 #143071 #541471
monochromatic
#161A05 #333D0B #5F7114 #8BA51D #B6D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7114#FFFFFF#000000##FFFFFF
##5F71141.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)
#766A1D
Tritanopia (blue-blind)
#656B60
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f7114;
/* rgb */ color: rgb(95, 113, 20);
/* oklch */ color: oklch(51.6% 0.115 120.6);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5f7114',
    950: '#000000',
  },
}
SCSS
$custom: #5f7114;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7114",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 71.613,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.1148,
    "h": 120.6
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#5F7114
secondary
#4F39A7
accent
#3BED5D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7114

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

Preview Lab → · Contrast checker → · Palette generator →

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