#708D12#708D12

#708D12 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.142 H 123.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#708D12
RGBrgb(112, 141, 18)
HSLhsl(74, 77%, 31%)
HSVhsv(74, 87%, 55%)
CMYKcmyk(20.6%, 0%, 87.2%, 44.7%)
CIE-LABlab(54.59, -26.40, 54.88)
CIE-LCHlch(54.59, 60.90, 115.69°)
OKLaboklab(59.96% -0.0779 0.1187)
OKLCHoklch(59.96% 0.142 123.3)
XYZxyz(16.3164, 22.5381, 4.0628)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708D12 #2F128D
analogous
#8D6C12 #708D12 #338D12
triadic
#708D12 #12708D #8D1270
tetradic
#708D12 #128D6C #2F128D #8D1233
square
#708D12 #128D6C #2F128D #8D1233
split-complementary
#708D12 #12338D #6C128D
monochromatic
#1A2004 #45570B #708D12 #9BC319 #BBE534

Accessibility & contrast

On white

3.81
#708D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#708D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708D12
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708D12#FFFFFF#000000##000000
##708D121.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#768578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #708d12;
/* rgb */ color: rgb(112, 141, 18);
/* oklch */ color: oklch(60.0% 0.142 123.3);
Tailwind
colors: {
  custom: {
    50: '#9dae5f',
    500: '#708d12',
    950: '#000000',
  },
}
SCSS
$custom: #708d12;
$custom-light: #9dae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#708d12",
  "rgb": {
    "r": 112,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 74.146,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.14197,
    "h": 123.3
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#708D12
secondary
#5A39C1
accent
#34F461
background
#FAFAF5
surface
#F3F4EA
border
#CDCEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #708D12

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

Preview Lab → · Contrast checker → · Palette generator →

#708D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva