#708D2F#708D2F

#708D2F is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.125 H 124.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#708D2F
RGBrgb(112, 141, 47)
HSLhsl(79, 50%, 37%)
HSVhsv(79, 67%, 55%)
CMYKcmyk(20.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.76, -24.85, 45.10)
CIE-LCHlch(54.76, 51.49, 118.85°)
OKLaboklab(60.15% -0.0713 0.1028)
OKLCHoklch(60.15% 0.125 124.8)
XYZxyz(16.7202, 22.6996, 6.1893)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708D2F #4C2F8D
analogous
#8D7B2F #708D2F #418D2F
triadic
#708D2F #2F708D #8D2F70
tetradic
#708D2F #2F8D7B #4C2F8D #8D2F41
square
#708D2F #2F8D7B #4C2F8D #8D2F41
split-complementary
#708D2F #2F418D #7B2F8D
monochromatic
#273110 #4C5F20 #708D2F #94BB3E #AECD69

Accessibility & contrast

On white

3.79
#708D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#708D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708D2F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708D2F#FFFFFF#000000##000000
##708D2F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#75867A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #708d2f;
/* rgb */ color: rgb(112, 141, 47);
/* oklch */ color: oklch(60.2% 0.125 124.8);
Tailwind
colors: {
  custom: {
    50: '#9cae6c',
    500: '#708d2f',
    950: '#000000',
  },
}
SCSS
$custom: #708d2f;
$custom-light: #9cae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#708d2f",
  "rgb": {
    "r": 112,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 78.511,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.12514,
    "h": 124.8
  },
  "luminance": 0.227
}

Semantic roles & 50–950 ramp

primary
#708D2F
secondary
#7C64B4
accent
#4EDA79
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #708D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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