#5F7610#5F7610

#5F7610 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.123 H 122.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5F7610
RGBrgb(95, 118, 16)
HSLhsl(74, 76%, 26%)
HSVhsv(74, 86%, 46%)
CMYKcmyk(19.5%, 0%, 86.4%, 53.7%)
CIE-LABlab(46.21, -22.37, 47.72)
CIE-LCHlch(46.21, 52.70, 115.11°)
OKLaboklab(52.87% -0.0661 0.1036)
OKLCHoklch(52.87% 0.123 122.6)
XYZxyz(11.2915, 15.4271, 2.8730)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7610 #271076
analogous
#765A10 #5F7610 #2C7610
triadic
#5F7610 #105F76 #76105F
tetradic
#5F7610 #10765A #271076 #76102C
square
#5F7610 #10765A #271076 #76102C
split-complementary
#5F7610 #102C76 #5A1076
monochromatic
#161B04 #344009 #5F7610 #8AAC17 #B5E120

Accessibility & contrast

On white

5.14
#5F7610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5F7610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7610
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7610#FFFFFF#000000##FFFFFF
##5F76101.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7B6D1C
Tritanopia (blue-blind)
#656F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7610;
/* rgb */ color: rgb(95, 118, 16);
/* oklch */ color: oklch(52.9% 0.123 122.6);
Tailwind
colors: {
  custom: {
    50: '#909d5a',
    500: '#5f7610',
    950: '#000000',
  },
}
SCSS
$custom: #5f7610;
$custom-light: #909d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7610",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 16
  },
  "hsl": {
    "h": 73.529,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.12293,
    "h": 122.6
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#5F7610
secondary
#5035AD
accent
#35F360
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7610

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

Preview Lab → · Contrast checker → · Palette generator →

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