#706817#706817

#706817 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.0% C 0.098 H 103.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#706817
RGBrgb(112, 104, 23)
HSLhsl(55, 66%, 26%)
HSVhsv(55, 79%, 44%)
CMYKcmyk(0%, 7.1%, 79.5%, 56.1%)
CIE-LABlab(43.37, -6.57, 43.49)
CIE-LCHlch(43.37, 43.98, 98.59°)
OKLaboklab(50.96% -0.0228 0.0952)
OKLCHoklch(50.96% 0.098 103.5)
XYZxyz(11.7876, 13.4077, 2.7775)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#706817 #171F70
analogous
#703C17 #706817 #4C7017
triadic
#706817 #177068 #681770
tetradic
#706817 #17703C #171F70 #70174C
square
#706817 #17703C #171F70 #70174C
split-complementary
#706817 #174C70 #3C1770
monochromatic
#191805 #3D390D #706817 #A39721 #D4C52D

Accessibility & contrast

On white

5.70
#706817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#706817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #706817
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##706817#FFFFFF#000000##FFFFFF
##7068171.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#796059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #706817;
/* rgb */ color: rgb(112, 104, 23);
/* oklch */ color: oklch(51.0% 0.098 103.5);
Tailwind
colors: {
  custom: {
    50: '#9c925b',
    500: '#706817',
    950: '#000000',
  },
}
SCSS
$custom: #706817;
$custom-light: #9c925b;
$custom-dark: #000000;
JSON
{
  "hex": "#706817",
  "rgb": {
    "r": 112,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 54.607,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.09792,
    "h": 103.5
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#706817
secondary
#3D46A6
accent
#4EE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #706817

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

Preview Lab → · Contrast checker → · Palette generator →

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