#708C2F#708C2F

#708C2F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.9% C 0.124 H 124.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#708C2F
RGBrgb(112, 140, 47)
HSLhsl(78, 50%, 37%)
HSVhsv(78, 66%, 55%)
CMYKcmyk(20%, 0%, 66.4%, 45.1%)
CIE-LABlab(54.46, -24.35, 44.78)
CIE-LCHlch(54.46, 50.97, 118.54°)
OKLaboklab(59.9% -0.0699 0.1021)
OKLCHoklch(59.9% 0.124 124.4)
XYZxyz(16.5734, 22.4060, 6.1404)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708C2F #4B2F8C
analogous
#8C7A2F #708C2F #418C2F
triadic
#708C2F #2F708C #8C2F70
tetradic
#708C2F #2F8C7A #4B2F8C #8C2F41
square
#708C2F #2F8C7A #4B2F8C #8C2F41
split-complementary
#708C2F #2F418C #7A2F8C
monochromatic
#273010 #4B5E20 #708C2F #95BA3E #AFCD69

Accessibility & contrast

On white

3.83
#708C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#708C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708C2F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708C2F#FFFFFF#000000##000000
##708C2F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#758579
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #708c2f;
/* rgb */ color: rgb(112, 140, 47);
/* oklch */ color: oklch(59.9% 0.124 124.4);
Tailwind
colors: {
  custom: {
    50: '#9cad6c',
    500: '#708c2f',
    950: '#000000',
  },
}
SCSS
$custom: #708c2f;
$custom-light: #9cad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#708c2f",
  "rgb": {
    "r": 112,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 78.065,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.12379,
    "h": 124.4
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#708C2F
secondary
#7B63B4
accent
#4FD978
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #708C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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