#707A17#707A17

#707A17 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.3% C 0.117 H 115.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#707A17
RGBrgb(112, 122, 23)
HSLhsl(66, 68%, 28%)
HSVhsv(66, 81%, 48%)
CMYKcmyk(8.2%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.79, -16.50, 48.44)
CIE-LCHlch(48.79, 51.17, 108.81°)
OKLaboklab(55.29% -0.0505 0.1058)
OKLCHoklch(55.29% 0.117 115.5)
XYZxyz(13.7967, 17.4259, 3.4472)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A17 #21177A
analogous
#7A5217 #707A17 #3E7A17
triadic
#707A17 #17707A #7A1770
tetradic
#707A17 #177A52 #21177A #7A173E
square
#707A17 #177A52 #21177A #7A173E
split-complementary
#707A17 #173E7A #52177A
monochromatic
#181A05 #41470D #707A17 #9FAD21 #C8D933

Accessibility & contrast

On white

4.68
#707A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#707A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707A17
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A17#FFFFFF#000000##FFFFFF
##707A171.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#787268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a17;
/* rgb */ color: rgb(112, 122, 23);
/* oklch */ color: oklch(55.3% 0.117 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ca05e',
    500: '#707a17',
    950: '#000000',
  },
}
SCSS
$custom: #707a17;
$custom-light: #9ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#707a17",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 66.061,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.11721,
    "h": 115.5
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#707A17
secondary
#493EAF
accent
#3DEB4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707A17

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

Preview Lab → · Contrast checker → · Palette generator →

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