#708B2F#708B2F

#708B2F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.122 H 124.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#708B2F
RGBrgb(112, 139, 47)
HSLhsl(78, 49%, 36%)
HSVhsv(78, 66%, 55%)
CMYKcmyk(19.4%, 0%, 66.2%, 45.5%)
CIE-LABlab(54.15, -23.85, 44.45)
CIE-LCHlch(54.15, 50.45, 118.21°)
OKLaboklab(59.66% -0.0686 0.1014)
OKLCHoklch(59.66% 0.122 124.1)
XYZxyz(16.4279, 22.1151, 6.0919)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708B2F #4A2F8B
analogous
#8B782F #708B2F #428B2F
triadic
#708B2F #2F708B #8B2F70
tetradic
#708B2F #2F8B78 #4A2F8B #8B2F42
square
#708B2F #2F8B78 #4A2F8B #8B2F42
split-complementary
#708B2F #2F428B #782F8B
monochromatic
#263010 #4B5D20 #708B2F #95B93E #AFCC68

Accessibility & contrast

On white

3.87
#708B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#708B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708B2F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708B2F#FFFFFF#000000##000000
##708B2F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#758478
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #708b2f;
/* rgb */ color: rgb(112, 139, 47);
/* oklch */ color: oklch(59.7% 0.122 124.1);
Tailwind
colors: {
  custom: {
    50: '#9cad6c',
    500: '#708b2f',
    950: '#000000',
  },
}
SCSS
$custom: #708b2f;
$custom-light: #9cad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#708b2f",
  "rgb": {
    "r": 112,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 77.609,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59657,
    "c": 0.12244,
    "h": 124.1
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#708B2F
secondary
#7A63B3
accent
#4FD977
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #708B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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