#707E17#707E17

#707E17 is a mid, vivid yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.122 H 117.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#707E17
RGBrgb(112, 126, 23)
HSLhsl(68, 69%, 29%)
HSVhsv(68, 82%, 49%)
CMYKcmyk(11.1%, 0%, 81.7%, 50.6%)
CIE-LABlab(50.01, -18.61, 49.54)
CIE-LCHlch(50.01, 52.92, 110.59°)
OKLaboklab(56.27% -0.0563 0.1081)
OKLCHoklch(56.27% 0.122 117.5)
XYZxyz(14.2980, 18.4285, 3.6143)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707E17 #25177E
analogous
#7E5917 #707E17 #3D7E17
triadic
#707E17 #17707E #7E1770
tetradic
#707E17 #177E59 #25177E #7E173D
square
#707E17 #177E59 #25177E #7E173D
split-complementary
#707E17 #173D7E #59177E
monochromatic
#171A05 #424A0E #707E17 #9EB220 #C4DA35

Accessibility & contrast

On white

4.48
#707E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#707E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707E17
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707E17#FFFFFF#000000##000000
##707E171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#867721
Tritanopia (blue-blind)
#77766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #707e17;
/* rgb */ color: rgb(112, 126, 23);
/* oklch */ color: oklch(56.3% 0.122 117.5);
Tailwind
colors: {
  custom: {
    50: '#9ca35e',
    500: '#707e17',
    950: '#000000',
  },
}
SCSS
$custom: #707e17;
$custom-light: #9ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#707e17",
  "rgb": {
    "r": 112,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 68.155,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.1219,
    "h": 117.5
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#707E17
secondary
#4E3EB3
accent
#3CEC54
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707E17

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

Preview Lab → · Contrast checker → · Palette generator →

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