#707B20#707B20

#707B20 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.6% C 0.113 H 116.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#707B20
RGBrgb(112, 123, 32)
HSLhsl(67, 59%, 30%)
HSVhsv(67, 74%, 48%)
CMYKcmyk(8.9%, 0%, 74%, 51.8%)
CIE-LABlab(49.15, -16.59, 45.58)
CIE-LCHlch(49.15, 48.51, 110.00°)
OKLaboklab(55.59% -0.0499 0.1014)
OKLCHoklch(55.59% 0.113 116.2)
XYZxyz(14.0261, 17.7151, 4.0467)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B20 #2B207B
analogous
#7B5820 #707B20 #427B20
triadic
#707B20 #20707B #7B2070
tetradic
#707B20 #207B58 #2B207B #7B2042
square
#707B20 #207B58 #2B207B #7B2042
split-complementary
#707B20 #20427B #58207B
monochromatic
#181A07 #444A13 #707B20 #9CAC2D #BECF46

Accessibility & contrast

On white

4.62
#707B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#707B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B20
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B20#FFFFFF#000000##FFFFFF
##707B201.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b20;
/* rgb */ color: rgb(112, 123, 32);
/* oklch */ color: oklch(55.6% 0.113 116.2);
Tailwind
colors: {
  custom: {
    50: '#9ca162',
    500: '#707b20',
    950: '#000000',
  },
}
SCSS
$custom: #707b20;
$custom-light: #9ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#707b20",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 67.253,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.11303,
    "h": 116.2
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#707B20
secondary
#5549AE
accent
#46E259
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #707B20

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

Preview Lab → · Contrast checker → · Palette generator →

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