#707F17#707F17

#707F17 is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.5% C 0.123 H 118.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#707F17
RGBrgb(112, 127, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 50%)
CMYKcmyk(11.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.32, -19.14, 49.81)
CIE-LCHlch(50.32, 53.36, 111.02°)
OKLaboklab(56.52% -0.0578 0.1087)
OKLCHoklch(56.52% 0.123 118)
XYZxyz(14.4265, 18.6855, 3.6571)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F17 #26177F
analogous
#7F5A17 #707F17 #3C7F17
triadic
#707F17 #17707F #7F1770
tetradic
#707F17 #177F5A #26177F #7F173C
square
#707F17 #177F5A #26177F #7F173C
split-complementary
#707F17 #173C7F #5A177F
monochromatic
#171A05 #424B0E #707F17 #9EB320 #C3DB36

Accessibility & contrast

On white

4.43
#707F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#707F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F17
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F17#FFFFFF#000000##000000
##707F171.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#77776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f17;
/* rgb */ color: rgb(112, 127, 23);
/* oklch */ color: oklch(56.5% 0.123 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#707f17',
    950: '#000000',
  },
}
SCSS
$custom: #707f17;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#707f17",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 68.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.12308,
    "h": 118
  },
  "luminance": 0.18685
}

Semantic roles & 50–950 ramp

primary
#707F17
secondary
#4F3EB4
accent
#3CEC55
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F17

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

Preview Lab → · Contrast checker → · Palette generator →

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