#5F760F#5F760F

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

Color values

HEX#5F760F
RGBrgb(95, 118, 15)
HSLhsl(73, 77%, 26%)
HSVhsv(73, 87%, 46%)
CMYKcmyk(19.5%, 0%, 87.3%, 53.7%)
CIE-LABlab(46.21, -22.40, 47.98)
CIE-LCHlch(46.21, 52.96, 115.03°)
OKLaboklab(52.87% -0.0663 0.104)
OKLCHoklch(52.87% 0.123 122.5)
XYZxyz(11.2842, 15.4242, 2.8345)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F760F #260F76
analogous
#76590F #5F760F #2B760F
triadic
#5F760F #0F5F76 #760F5F
tetradic
#5F760F #0F7659 #260F76 #760F2B
square
#5F760F #0F7659 #260F76 #760F2B
split-complementary
#5F760F #0F2B76 #590F76
monochromatic
#161B03 #334008 #5F760F #8BAC16 #B6E21D

Accessibility & contrast

On white

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

On black

4.08
#5F760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F760F#FFFFFF#000000##FFFFFF
##5F760F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f760f;
/* rgb */ color: rgb(95, 118, 15);
/* oklch */ color: oklch(52.9% 0.123 122.5);
Tailwind
colors: {
  custom: {
    50: '#909d5a',
    500: '#5f760f',
    950: '#000000',
  },
}
SCSS
$custom: #5f760f;
$custom-light: #909d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f760f",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 73.398,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.12334,
    "h": 122.5
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#5F760F
secondary
#4F33AD
accent
#34F45F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F760F

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

Preview Lab → · Contrast checker → · Palette generator →

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