#707217#707217

#707217 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.108 H 110.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#707217
RGBrgb(112, 114, 23)
HSLhsl(61, 66%, 27%)
HSVhsv(61, 80%, 45%)
CMYKcmyk(1.8%, 0%, 79.8%, 55.3%)
CIE-LABlab(46.37, -12.17, 46.24)
CIE-LCHlch(46.37, 47.82, 104.75°)
OKLaboklab(53.35% -0.0385 0.1011)
OKLCHoklch(53.35% 0.108 110.9)
XYZxyz(12.8545, 15.5416, 3.1331)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707217 #191772
analogous
#724717 #707217 #437217
triadic
#707217 #177072 #721770
tetradic
#707217 #177247 #191772 #721743
square
#707217 #177247 #191772 #721743
split-complementary
#707217 #174372 #471772
monochromatic
#191905 #3E3F0D #707217 #A2A521 #D1D52E

Accessibility & contrast

On white

5.11
#707217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#707217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707217
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707217#FFFFFF#000000##FFFFFF
##7072171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#786A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #707217;
/* rgb */ color: rgb(112, 114, 23);
/* oklch */ color: oklch(53.3% 0.108 110.9);
Tailwind
colors: {
  custom: {
    50: '#9c9a5d',
    500: '#707217',
    950: '#000000',
  },
}
SCSS
$custom: #707217;
$custom-light: #9c9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#707217",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 61.319,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.10817,
    "h": 110.9
  },
  "luminance": 0.15541
}

Semantic roles & 50–950 ramp

primary
#707217
secondary
#403DA8
accent
#3EE942
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #707217

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

Preview Lab → · Contrast checker → · Palette generator →

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