#707F20#707F20

#707F20 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.118 H 118.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#707F20
RGBrgb(112, 127, 32)
HSLhsl(69, 60%, 31%)
HSVhsv(69, 75%, 50%)
CMYKcmyk(11.8%, 0%, 74.8%, 50.2%)
CIE-LABlab(50.37, -18.70, 46.77)
CIE-LCHlch(50.37, 50.37, 111.80°)
OKLaboklab(56.57% -0.0558 0.1039)
OKLCHoklch(56.57% 0.118 118.2)
XYZxyz(14.5325, 18.7279, 4.2155)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F20 #2F207F
analogous
#7F5E20 #707F20 #407F20
triadic
#707F20 #20707F #7F2070
tetradic
#707F20 #207F5E #2F207F #7F2040
square
#707F20 #207F5E #2F207F #7F2040
split-complementary
#707F20 #20407F #5E207F
monochromatic
#1A1D07 #454E14 #707F20 #9BB02C #BBD148

Accessibility & contrast

On white

4.43
#707F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#707F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F20#FFFFFF#000000##000000
##707F201.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f20;
/* rgb */ color: rgb(112, 127, 32);
/* oklch */ color: oklch(56.6% 0.118 118.2);
Tailwind
colors: {
  custom: {
    50: '#9ca463',
    500: '#707f20',
    950: '#000000',
  },
}
SCSS
$custom: #707f20;
$custom-light: #9ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#707f20",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 69.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.11792,
    "h": 118.2
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#707F20
secondary
#5A49B2
accent
#45E35E
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #707F20

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

Preview Lab → · Contrast checker → · Palette generator →

#707F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva