#5F7618#5F7618

#5F7618 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.119 H 122.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F7618
RGBrgb(95, 118, 24)
HSLhsl(75, 66%, 28%)
HSVhsv(75, 80%, 46%)
CMYKcmyk(19.5%, 0%, 79.7%, 53.7%)
CIE-LABlab(46.25, -22.02, 45.30)
CIE-LCHlch(46.25, 50.37, 115.92°)
OKLaboklab(52.92% -0.0646 0.0999)
OKLCHoklch(52.92% 0.119 122.9)
XYZxyz(11.3628, 15.4557, 3.2486)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7618 #2F1876
analogous
#765E18 #5F7618 #307618
triadic
#5F7618 #185F76 #76185F
tetradic
#5F7618 #18765E #2F1876 #761830
square
#5F7618 #18765E #2F1876 #761830
split-complementary
#5F7618 #183076 #5E1876
monochromatic
#141905 #36430E #5F7618 #88A922 #AED533

Accessibility & contrast

On white

5.13
#5F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7618
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7618#FFFFFF#000000##FFFFFF
##5F76181.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7618;
/* rgb */ color: rgb(95, 118, 24);
/* oklch */ color: oklch(52.9% 0.119 122.9);
Tailwind
colors: {
  custom: {
    50: '#8f9d5d',
    500: '#5f7618',
    950: '#000000',
  },
}
SCSS
$custom: #5f7618;
$custom-light: #8f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7618",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 74.681,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.11895,
    "h": 122.9
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#5F7618
secondary
#593FAB
accent
#3FE968
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7618

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

Preview Lab → · Contrast checker → · Palette generator →

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