#707D21#707D21

#707D21 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.1% C 0.115 H 117.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#707D21
RGBrgb(112, 125, 33)
HSLhsl(68, 58%, 31%)
HSVhsv(68, 74%, 49%)
CMYKcmyk(10.4%, 0%, 73.6%, 51%)
CIE-LABlab(49.76, -17.59, 45.79)
CIE-LCHlch(49.76, 49.06, 111.02°)
OKLaboklab(56.09% -0.0526 0.102)
OKLCHoklch(56.09% 0.115 117.3)
XYZxyz(14.2905, 18.2219, 4.2029)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707D21 #2E217D
analogous
#7D5C21 #707D21 #427D21
triadic
#707D21 #21707D #7D2170
tetradic
#707D21 #217D5C #2E217D #7D2142
square
#707D21 #217D5C #2E217D #7D2142
split-complementary
#707D21 #21427D #5C217D
monochromatic
#191C07 #454D14 #707D21 #9BAD2E #BCCF49

Accessibility & contrast

On white

4.52
#707D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#707D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707D21
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707D21#FFFFFF#000000##000000
##707D211.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867611
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#77766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707d21;
/* rgb */ color: rgb(112, 125, 33);
/* oklch */ color: oklch(56.1% 0.115 117.3);
Tailwind
colors: {
  custom: {
    50: '#9ca263',
    500: '#707d21',
    950: '#000000',
  },
}
SCSS
$custom: #707d21;
$custom-light: #9ca263;
$custom-dark: #000000;
JSON
{
  "hex": "#707d21",
  "rgb": {
    "r": 112,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 68.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.1148,
    "h": 117.3
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#707D21
secondary
#584AB0
accent
#46E15C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F06
muted
#7E7E7A

Preview Lab

Preview with #707D21

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

Preview Lab → · Contrast checker → · Palette generator →

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