#707817#707817

#707817 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.8% C 0.115 H 114.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#707817
RGBrgb(112, 120, 23)
HSLhsl(65, 68%, 28%)
HSVhsv(65, 81%, 47%)
CMYKcmyk(6.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(48.18, -15.43, 47.89)
CIE-LCHlch(48.18, 50.32, 107.86°)
OKLaboklab(54.8% -0.0476 0.1046)
OKLCHoklch(54.8% 0.115 114.5)
XYZxyz(13.5536, 16.9398, 3.3662)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707817 #1F1778
analogous
#784F17 #707817 #407817
triadic
#707817 #177078 #781770
tetradic
#707817 #17784F #1F1778 #781740
square
#707817 #17784F #1F1778 #781740
split-complementary
#707817 #174078 #4F1778
monochromatic
#181A05 #40450D #707817 #A0AB21 #CAD832

Accessibility & contrast

On white

4.79
#707817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#707817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707817
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707817#FFFFFF#000000##FFFFFF
##7078171.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#787066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #707817;
/* rgb */ color: rgb(112, 120, 23);
/* oklch */ color: oklch(54.8% 0.115 114.5);
Tailwind
colors: {
  custom: {
    50: '#9c9e5e',
    500: '#707817',
    950: '#000000',
  },
}
SCSS
$custom: #707817;
$custom-light: #9c9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#707817",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 64.948,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.1149,
    "h": 114.5
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#707817
secondary
#473EAD
accent
#3DEB4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707817

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

Preview Lab → · Contrast checker → · Palette generator →

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