#707B17#707B17

#707B17 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.118 H 116.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#707B17
RGBrgb(112, 123, 23)
HSLhsl(67, 68%, 29%)
HSVhsv(67, 81%, 48%)
CMYKcmyk(8.9%, 0%, 81.3%, 51.8%)
CIE-LABlab(49.10, -17.03, 48.72)
CIE-LCHlch(49.10, 51.61, 109.27°)
OKLaboklab(55.54% -0.052 0.1064)
OKLCHoklch(55.54% 0.118 116.1)
XYZxyz(13.9201, 17.6727, 3.4883)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B17 #22177B
analogous
#7B5417 #707B17 #3E7B17
triadic
#707B17 #17707B #7B1770
tetradic
#707B17 #177B54 #22177B #7B173E
square
#707B17 #177B54 #22177B #7B173E
split-complementary
#707B17 #173E7B #54177B
monochromatic
#171A05 #41470D #707B17 #9FAF21 #C7D933

Accessibility & contrast

On white

4.63
#707B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#707B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B17
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B17#FFFFFF#000000##FFFFFF
##707B171.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#787369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b17;
/* rgb */ color: rgb(112, 123, 23);
/* oklch */ color: oklch(55.5% 0.118 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca15e',
    500: '#707b17',
    950: '#000000',
  },
}
SCSS
$custom: #707b17;
$custom-light: #9ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#707b17",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 66.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.11838,
    "h": 116.1
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#707B17
secondary
#4A3EB0
accent
#3CEB50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707B17

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

Preview Lab → · Contrast checker → · Palette generator →

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