#707815#707815

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

Color values

HEX#707815
RGBrgb(112, 120, 21)
HSLhsl(65, 70%, 28%)
HSVhsv(65, 83%, 47%)
CMYKcmyk(6.7%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.17, -15.52, 48.51)
CIE-LCHlch(48.17, 50.93, 107.74°)
OKLaboklab(54.79% -0.048 0.1055)
OKLCHoklch(54.79% 0.116 114.4)
XYZxyz(13.5343, 16.9321, 3.2646)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707815 #1D1578
analogous
#784E15 #707815 #3F7815
triadic
#707815 #157078 #781570
tetradic
#707815 #15784E #1D1578 #78153F
square
#707815 #15784E #1D1578 #78153F
split-complementary
#707815 #153F78 #4E1578
monochromatic
#181A05 #3F440C #707815 #A1AC1E #CCDA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707815#FFFFFF#000000##FFFFFF
##7078151.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)
#81731F
Tritanopia (blue-blind)
#787066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #707815;
/* rgb */ color: rgb(112, 120, 21);
/* oklch */ color: oklch(54.8% 0.116 114.4);
Tailwind
colors: {
  custom: {
    50: '#9c9e5d',
    500: '#707815',
    950: '#000000',
  },
}
SCSS
$custom: #707815;
$custom-light: #9c9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#707815",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 64.848,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.11593,
    "h": 114.4
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#707815
secondary
#443BAE
accent
#3BED49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707815

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

Preview Lab → · Contrast checker → · Palette generator →

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