#708012#708012

#708012 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.127 H 118.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#708012
RGBrgb(112, 128, 18)
HSLhsl(69, 75%, 29%)
HSVhsv(69, 86%, 50%)
CMYKcmyk(12.5%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.60, -19.84, 51.48)
CIE-LCHlch(50.60, 55.17, 111.08°)
OKLaboklab(56.74% -0.0601 0.1114)
OKLCHoklch(56.74% 0.127 118.3)
XYZxyz(14.5108, 18.9269, 3.4610)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708012 #221280
analogous
#805912 #708012 #398012
triadic
#708012 #127080 #801270
tetradic
#708012 #128059 #221280 #801239
square
#708012 #128059 #221280 #801239
split-complementary
#708012 #123980 #591280
monochromatic
#171B04 #414A0A #708012 #9FB61A #C7E12B

Accessibility & contrast

On white

4.39
#708012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#708012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708012
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708012#FFFFFF#000000##000000
##7080121.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #708012;
/* rgb */ color: rgb(112, 128, 18);
/* oklch */ color: oklch(56.7% 0.127 118.3);
Tailwind
colors: {
  custom: {
    50: '#9da45d',
    500: '#708012',
    950: '#000000',
  },
}
SCSS
$custom: #708012;
$custom-light: #9da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#708012",
  "rgb": {
    "r": 112,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 68.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.12652,
    "h": 118.3
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#708012
secondary
#4A38B6
accent
#36F251
background
#FAFAF5
surface
#F3F4E9
border
#CDCEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #708012

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

Preview Lab → · Contrast checker → · Palette generator →

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