#707822#707822

#707822 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.9% C 0.108 H 114.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#707822
RGBrgb(112, 120, 34)
HSLhsl(66, 56%, 30%)
HSVhsv(66, 72%, 47%)
CMYKcmyk(6.7%, 0%, 71.7%, 52.9%)
CIE-LABlab(48.25, -14.87, 43.90)
CIE-LCHlch(48.25, 46.35, 108.71°)
OKLaboklab(54.88% -0.0449 0.0982)
OKLCHoklch(54.88% 0.108 114.6)
XYZxyz(13.6877, 16.9934, 4.0721)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707822 #2A2278
analogous
#785522 #707822 #457822
triadic
#707822 #227078 #782270
tetradic
#707822 #227855 #2A2278 #782245
square
#707822 #227855 #2A2278 #782245
split-complementary
#707822 #224578 #552278
monochromatic
#171907 #434814 #707822 #9DA830 #BFCB49

Accessibility & contrast

On white

4.77
#707822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#707822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707822
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707822#FFFFFF#000000##FFFFFF
##7078221.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#787167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #707822;
/* rgb */ color: rgb(112, 120, 34);
/* oklch */ color: oklch(54.9% 0.108 114.6);
Tailwind
colors: {
  custom: {
    50: '#9c9e63',
    500: '#707822',
    950: '#000000',
  },
}
SCSS
$custom: #707822;
$custom-light: #9c9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#707822",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 65.581,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.108,
    "h": 114.6
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#707822
secondary
#544BAB
accent
#49DF57
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #707822

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

Preview Lab → · Contrast checker → · Palette generator →

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