#5F7113#5F7113

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

Color values

HEX#5F7113
RGBrgb(95, 113, 19)
HSLhsl(71, 71%, 26%)
HSVhsv(71, 83%, 44%)
CMYKcmyk(15.9%, 0%, 83.2%, 55.7%)
CIE-LABlab(44.65, -19.66, 45.47)
CIE-LCHlch(44.65, 49.54, 113.38°)
OKLaboklab(51.61% -0.0586 0.0993)
OKLCHoklch(51.61% 0.115 120.5)
XYZxyz(10.7422, 14.2902, 2.8083)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7113 #251371
analogous
#715413 #5F7113 #307113
triadic
#5F7113 #135F71 #71135F
tetradic
#5F7113 #137154 #251371 #711330
square
#5F7113 #137154 #251371 #711330
split-complementary
#5F7113 #133071 #541371
monochromatic
#161A04 #333D0A #5F7113 #8BA51C #B7DA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7113#FFFFFF#000000##FFFFFF
##5F71131.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: #5f7113;
/* rgb */ color: rgb(95, 113, 19);
/* oklch */ color: oklch(51.6% 0.115 120.5);
Tailwind
colors: {
  custom: {
    50: '#90995a',
    500: '#5f7113',
    950: '#000000',
  },
}
SCSS
$custom: #5f7113;
$custom-light: #90995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7113",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 71.489,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.11532,
    "h": 120.5
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#5F7113
secondary
#4D38A8
accent
#3AEE5C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7113

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

Preview Lab → · Contrast checker → · Palette generator →

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