#707212#707212

#707212 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.111 H 110.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#707212
RGBrgb(112, 114, 18)
HSLhsl(61, 73%, 26%)
HSVhsv(61, 84%, 45%)
CMYKcmyk(1.8%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.34, -12.37, 47.80)
CIE-LCHlch(46.34, 49.38, 104.51°)
OKLaboklab(53.32% -0.0395 0.1034)
OKLCHoklch(53.32% 0.111 110.9)
XYZxyz(12.8091, 15.5234, 2.8937)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707212 #141272
analogous
#724412 #707212 #407212
triadic
#707212 #127072 #721270
tetradic
#707212 #127244 #141272 #721240
square
#707212 #127244 #141272 #721240
split-complementary
#707212 #124072 #441272
monochromatic
#1A1A04 #3C3D0A #707212 #A4A71A #D8DC23

Accessibility & contrast

On white

5.12
#707212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#707212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707212
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707212#FFFFFF#000000##FFFFFF
##7072121.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#786A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #707212;
/* rgb */ color: rgb(112, 114, 18);
/* oklch */ color: oklch(53.3% 0.111 110.9);
Tailwind
colors: {
  custom: {
    50: '#9c9a5b',
    500: '#707212',
    950: '#000000',
  },
}
SCSS
$custom: #707212;
$custom-light: #9c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#707212",
  "rgb": {
    "r": 112,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 61.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.11073,
    "h": 110.9
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#707212
secondary
#3937A9
accent
#38EF3C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #707212

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

Preview Lab → · Contrast checker → · Palette generator →

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