#707020#707020

#707020 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.9% C 0.100 H 109.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#707020
RGBrgb(112, 112, 32)
HSLhsl(60, 56%, 28%)
HSVhsv(60, 71%, 44%)
CMYKcmyk(0%, 0%, 71.4%, 56.1%)
CIE-LABlab(45.82, -10.61, 42.30)
CIE-LCHlch(45.82, 43.61, 104.08°)
OKLaboklab(52.93% -0.0332 0.0945)
OKLCHoklch(52.93% 0.1 109.4)
XYZxyz(12.7374, 15.1377, 3.6171)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707020 #202070
analogous
#704820 #707020 #487020
triadic
#707020 #207070 #702070
tetradic
#707020 #207048 #202070 #702048
square
#707020 #207048 #202070 #702048
split-complementary
#707020 #204870 #482070
monochromatic
#181807 #404012 #707020 #A0A02E #C9C942

Accessibility & contrast

On white

5.21
#707020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#707020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707020
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707020#FFFFFF#000000##FFFFFF
##7070201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B14
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#786960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #707020;
/* rgb */ color: rgb(112, 112, 32);
/* oklch */ color: oklch(52.9% 0.100 109.4);
Tailwind
colors: {
  custom: {
    50: '#9c9861',
    500: '#707020',
    950: '#000000',
  },
}
SCSS
$custom: #707020;
$custom-light: #9c9861;
$custom-dark: #000000;
JSON
{
  "hex": "#707020",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.10016,
    "h": 109.4
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#707020
secondary
#4848A4
accent
#49DF49
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #707020

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

Preview Lab → · Contrast checker → · Palette generator →

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