#708C17#708C17

#708C17 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.139 H 123.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#708C17
RGBrgb(112, 140, 23)
HSLhsl(74, 72%, 32%)
HSVhsv(74, 84%, 55%)
CMYKcmyk(20%, 0%, 83.6%, 45.1%)
CIE-LABlab(54.30, -25.73, 53.35)
CIE-LCHlch(54.30, 59.23, 115.74°)
OKLaboklab(59.74% -0.0758 0.1162)
OKLCHoklch(59.74% 0.139 123.1)
XYZxyz(16.2151, 22.2627, 4.2533)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708C17 #33178C
analogous
#8C6E17 #708C17 #368C17
triadic
#708C17 #17708C #8C1770
tetradic
#708C17 #178C6E #33178C #8C1736
square
#708C17 #178C6E #33178C #8C1736
split-complementary
#708C17 #17368C #6E178C
monochromatic
#1C2306 #46570E #708C17 #9AC120 #B9DF3E

Accessibility & contrast

On white

3.85
#708C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#708C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708C17
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708C17#FFFFFF#000000##000000
##708C171.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#768577
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #708c17;
/* rgb */ color: rgb(112, 140, 23);
/* oklch */ color: oklch(59.7% 0.139 123.1);
Tailwind
colors: {
  custom: {
    50: '#9dad61',
    500: '#708c17',
    950: '#000000',
  },
}
SCSS
$custom: #708c17;
$custom-light: #9dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#708c17",
  "rgb": {
    "r": 112,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 74.359,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.13876,
    "h": 123.1
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

primary
#708C17
secondary
#5E3FBF
accent
#39EF65
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #708C17

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

Preview Lab → · Contrast checker → · Palette generator →

#708C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva