#5F7010#5F7010

#5F7010 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.116 H 120.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F7010
RGBrgb(95, 112, 16)
HSLhsl(71, 75%, 25%)
HSVhsv(71, 86%, 44%)
CMYKcmyk(15.2%, 0%, 85.7%, 56.1%)
CIE-LABlab(44.32, -19.26, 46.07)
CIE-LCHlch(44.32, 49.94, 112.69°)
OKLaboklab(51.34% -0.0577 0.1001)
OKLCHoklch(51.34% 0.116 120)
XYZxyz(10.6072, 14.0587, 2.6449)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7010 #211070
analogous
#705110 #5F7010 #2F7010
triadic
#5F7010 #105F70 #70105F
tetradic
#5F7010 #107051 #211070 #70102F
square
#5F7010 #107051 #211070 #70102F
split-complementary
#5F7010 #102F70 #511070
monochromatic
#171B04 #323A08 #5F7010 #8CA618 #BADB1F

Accessibility & contrast

On white

5.51
#5F7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5F7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7010
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7010#FFFFFF#000000##FFFFFF
##5F70101.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#65695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f7010;
/* rgb */ color: rgb(95, 112, 16);
/* oklch */ color: oklch(51.3% 0.116 120.0);
Tailwind
colors: {
  custom: {
    50: '#909959',
    500: '#5f7010',
    950: '#000000',
  },
}
SCSS
$custom: #5f7010;
$custom-light: #909959;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7010",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 70.625,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.11551,
    "h": 120
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#5F7010
secondary
#4934A8
accent
#36F257
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F7010

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

Preview Lab → · Contrast checker → · Palette generator →

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