#707D17#707D17

#707D17 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.0% C 0.121 H 117.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#707D17
RGBrgb(112, 125, 23)
HSLhsl(68, 69%, 29%)
HSVhsv(68, 82%, 49%)
CMYKcmyk(10.4%, 0%, 81.6%, 51%)
CIE-LABlab(49.71, -18.09, 49.26)
CIE-LCHlch(49.71, 52.48, 110.16°)
OKLaboklab(56.03% -0.0549 0.1075)
OKLCHoklch(56.03% 0.121 117)
XYZxyz(14.1707, 18.1740, 3.5719)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707D17 #24177D
analogous
#7D5717 #707D17 #3D7D17
triadic
#707D17 #17707D #7D1770
tetradic
#707D17 #177D57 #24177D #7D173D
square
#707D17 #177D57 #24177D #7D173D
split-complementary
#707D17 #173D7D #57177D
monochromatic
#171A05 #42490D #707D17 #9EB121 #C5DA35

Accessibility & contrast

On white

4.53
#707D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#707D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707D17
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707D17#FFFFFF#000000##000000
##707D171.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#78756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707d17;
/* rgb */ color: rgb(112, 125, 23);
/* oklch */ color: oklch(56.0% 0.121 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ca25e',
    500: '#707d17',
    950: '#000000',
  },
}
SCSS
$custom: #707d17;
$custom-light: #9ca25e;
$custom-dark: #000000;
JSON
{
  "hex": "#707d17",
  "rgb": {
    "r": 112,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 67.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.12072,
    "h": 117
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#707D17
secondary
#4D3EB2
accent
#3CEC52
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #707D17

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

Preview Lab → · Contrast checker → · Palette generator →

#707D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva