#706917#706917

#706917 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.2% C 0.099 H 104.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#706917
RGBrgb(112, 105, 23)
HSLhsl(55, 66%, 26%)
HSVhsv(55, 79%, 44%)
CMYKcmyk(0%, 6.3%, 79.5%, 56.1%)
CIE-LABlab(43.67, -7.14, 43.77)
CIE-LCHlch(43.67, 44.34, 99.26°)
OKLaboklab(51.19% -0.0244 0.0958)
OKLCHoklch(51.19% 0.099 104.3)
XYZxyz(11.8888, 13.6102, 2.8112)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#706917 #171E70
analogous
#703D17 #706917 #4B7017
triadic
#706917 #177069 #691770
tetradic
#706917 #17703D #171E70 #70174B
square
#706917 #17703D #171E70 #70174B
split-complementary
#706917 #174B70 #3D1770
monochromatic
#191805 #3D390D #706917 #A39921 #D4C72D

Accessibility & contrast

On white

5.64
#706917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#706917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #706917
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##706917#FFFFFF#000000##FFFFFF
##7069171.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#796159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #706917;
/* rgb */ color: rgb(112, 105, 23);
/* oklch */ color: oklch(51.2% 0.099 104.3);
Tailwind
colors: {
  custom: {
    50: '#9c935b',
    500: '#706917',
    950: '#000000',
  },
}
SCSS
$custom: #706917;
$custom-light: #9c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#706917",
  "rgb": {
    "r": 112,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 55.281,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.09888,
    "h": 104.3
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#706917
secondary
#3D45A6
accent
#4CE93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #706917

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

Preview Lab → · Contrast checker → · Palette generator →

#706917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva