#708B18#708B18

#708B18 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.137 H 122.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#708B18
RGBrgb(112, 139, 24)
HSLhsl(74, 71%, 32%)
HSVhsv(74, 83%, 55%)
CMYKcmyk(19.4%, 0%, 82.7%, 45.5%)
CIE-LABlab(54.00, -25.19, 52.80)
CIE-LCHlch(54.00, 58.51, 115.51°)
OKLaboklab(59.49% -0.0743 0.1152)
OKLCHoklch(59.49% 0.137 122.8)
XYZxyz(16.0798, 21.9759, 4.2586)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708B18 #33188B
analogous
#8B6D18 #708B18 #378B18
triadic
#708B18 #18708B #8B1870
tetradic
#708B18 #188B6D #33188B #8B1837
square
#708B18 #188B6D #33188B #8B1837
split-complementary
#708B18 #18378B #6D188B
monochromatic
#1C2306 #46570F #708B18 #9ABF21 #B9DE3F

Accessibility & contrast

On white

3.89
#708B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#708B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708B18
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708B18#FFFFFF#000000##000000
##708B181.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#768476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #708b18;
/* rgb */ color: rgb(112, 139, 24);
/* oklch */ color: oklch(59.5% 0.137 122.8);
Tailwind
colors: {
  custom: {
    50: '#9dad61',
    500: '#708b18',
    950: '#000000',
  },
}
SCSS
$custom: #708b18;
$custom-light: #9dad61;
$custom-dark: #000000;
JSON
{
  "hex": "#708b18",
  "rgb": {
    "r": 112,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 74.087,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.13709,
    "h": 122.8
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#708B18
secondary
#5E40BE
accent
#3AED64
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #708B18

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

Preview Lab → · Contrast checker → · Palette generator →

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