#706F17#706F17

#706F17 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.105 H 108.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#706F17
RGBrgb(112, 111, 23)
HSLhsl(59, 66%, 26%)
HSVhsv(59, 79%, 44%)
CMYKcmyk(0%, 0.9%, 79.5%, 56.1%)
CIE-LABlab(45.46, -10.51, 45.42)
CIE-LCHlch(45.46, 46.62, 103.03°)
OKLaboklab(52.63% -0.0339 0.0993)
OKLCHoklch(52.63% 0.105 108.8)
XYZxyz(12.5217, 14.8759, 3.0222)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#706F17 #171870
analogous
#704317 #706F17 #457017
triadic
#706F17 #17706F #6F1770
tetradic
#706F17 #177043 #171870 #701745
square
#706F17 #177043 #171870 #701745
split-complementary
#706F17 #174570 #431770
monochromatic
#191905 #3D3D0D #706F17 #A3A121 #D4D22D

Accessibility & contrast

On white

5.28
#706F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#706F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #706F17
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##706F17#FFFFFF#000000##FFFFFF
##706F171.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#79675F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #706f17;
/* rgb */ color: rgb(112, 111, 23);
/* oklch */ color: oklch(52.6% 0.105 108.8);
Tailwind
colors: {
  custom: {
    50: '#9c985c',
    500: '#706f17',
    950: '#000000',
  },
}
SCSS
$custom: #706f17;
$custom-light: #9c985c;
$custom-dark: #000000;
JSON
{
  "hex": "#706f17",
  "rgb": {
    "r": 112,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 59.326,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.10495,
    "h": 108.8
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#706F17
secondary
#3D3EA6
accent
#41E93F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #706F17

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

Preview Lab → · Contrast checker → · Palette generator →

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