#5F7510#5F7510

#5F7510 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.122 H 122.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F7510
RGBrgb(95, 117, 16)
HSLhsl(73, 76%, 26%)
HSVhsv(73, 86%, 46%)
CMYKcmyk(18.8%, 0%, 86.3%, 54.1%)
CIE-LABlab(45.90, -21.86, 47.45)
CIE-LCHlch(45.90, 52.24, 114.73°)
OKLaboklab(52.62% -0.0648 0.103)
OKLCHoklch(52.62% 0.122 122.2)
XYZxyz(11.1743, 15.1929, 2.8339)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7510 #261075
analogous
#755810 #5F7510 #2C7510
triadic
#5F7510 #105F75 #75105F
tetradic
#5F7510 #107558 #261075 #75102C
square
#5F7510 #107558 #261075 #75102C
split-complementary
#5F7510 #102C75 #581075
monochromatic
#161B04 #333F09 #5F7510 #8BAB17 #B6E01F

Accessibility & contrast

On white

5.20
#5F7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5F7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7510
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7510#FFFFFF#000000##FFFFFF
##5F75101.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#656E63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7510;
/* rgb */ color: rgb(95, 117, 16);
/* oklch */ color: oklch(52.6% 0.122 122.2);
Tailwind
colors: {
  custom: {
    50: '#909c5a',
    500: '#5f7510',
    950: '#000000',
  },
}
SCSS
$custom: #5f7510;
$custom-light: #909c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7510",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 73.069,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.12168,
    "h": 122.2
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#5F7510
secondary
#4F35AC
accent
#35F35F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7510

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

Preview Lab → · Contrast checker → · Palette generator →

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