#708017#708017

#708017 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.124 H 118.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#708017
RGBrgb(112, 128, 23)
HSLhsl(69, 70%, 30%)
HSVhsv(69, 82%, 50%)
CMYKcmyk(12.5%, 0%, 82%, 49.8%)
CIE-LABlab(50.62, -19.66, 50.08)
CIE-LCHlch(50.62, 53.80, 111.43°)
OKLaboklab(56.76% -0.0592 0.1093)
OKLCHoklch(56.76% 0.124 118.4)
XYZxyz(14.5563, 18.9451, 3.7004)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708017 #271780
analogous
#805C17 #708017 #3C8017
triadic
#708017 #177080 #801770
tetradic
#708017 #17805C #271780 #80173C
square
#708017 #17805C #271780 #80173C
split-complementary
#708017 #173C80 #5C1780
monochromatic
#171A05 #434C0E #708017 #9DB420 #C2DB36

Accessibility & contrast

On white

4.39
#708017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#708017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708017
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708017#FFFFFF#000000##000000
##7080171.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #708017;
/* rgb */ color: rgb(112, 128, 23);
/* oklch */ color: oklch(56.8% 0.124 118.4);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#708017',
    950: '#000000',
  },
}
SCSS
$custom: #708017;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#708017",
  "rgb": {
    "r": 112,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 69.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.12428,
    "h": 118.4
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#708017
secondary
#503EB4
accent
#3BEC56
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #708017

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

Preview Lab → · Contrast checker → · Palette generator →

#708017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva