#707F12#707F12

#707F12 is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.5% C 0.125 H 117.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#707F12
RGBrgb(112, 127, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 86%, 50%)
CMYKcmyk(11.8%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.30, -19.32, 51.21)
CIE-LCHlch(50.30, 54.74, 110.67°)
OKLaboklab(56.49% -0.0586 0.1108)
OKLCHoklch(56.49% 0.125 117.9)
XYZxyz(14.3810, 18.6673, 3.4177)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F12 #21127F
analogous
#7F5712 #707F12 #397F12
triadic
#707F12 #12707F #7F1270
tetradic
#707F12 #127F57 #21127F #7F1239
square
#707F12 #127F57 #21127F #7F1239
split-complementary
#707F12 #12397F #57127F
monochromatic
#181B04 #41490A #707F12 #9FB51A #C8E12B

Accessibility & contrast

On white

4.44
#707F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#707F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F12
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F12#FFFFFF#000000##000000
##707F121.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#77776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f12;
/* rgb */ color: rgb(112, 127, 18);
/* oklch */ color: oklch(56.5% 0.125 117.9);
Tailwind
colors: {
  custom: {
    50: '#9ca45d',
    500: '#707f12',
    950: '#000000',
  },
}
SCSS
$custom: #707f12;
$custom-light: #9ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#707f12",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 68.257,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.12536,
    "h": 117.9
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#707F12
secondary
#4938B5
accent
#36F250
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F12

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

Preview Lab → · Contrast checker → · Palette generator →

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