#708C31#708C31

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

Color values

HEX#708C31
RGBrgb(112, 140, 49)
HSLhsl(78, 48%, 37%)
HSVhsv(78, 65%, 55%)
CMYKcmyk(20%, 0%, 65%, 45.1%)
CIE-LABlab(54.47, -24.19, 43.91)
CIE-LCHlch(54.47, 50.14, 118.85°)
OKLaboklab(59.92% -0.0693 0.1006)
OKLCHoklch(59.92% 0.122 124.6)
XYZxyz(16.6146, 22.4225, 6.3578)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708C31 #4D318C
analogous
#8C7B31 #708C31 #428C31
triadic
#708C31 #31708C #8C3170
tetradic
#708C31 #318C7B #4D318C #8C3142
square
#708C31 #318C7B #4D318C #8C3142
split-complementary
#708C31 #31428C #7B318C
monochromatic
#273111 #4C5F21 #708C31 #94B941 #AECC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##708C31#FFFFFF#000000##000000
##708C311.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)
#948326
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#758579
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #708c31;
/* rgb */ color: rgb(112, 140, 49);
/* oklch */ color: oklch(59.9% 0.122 124.6);
Tailwind
colors: {
  custom: {
    50: '#9cad6e',
    500: '#708c31',
    950: '#000000',
  },
}
SCSS
$custom: #708c31;
$custom-light: #9cad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#708c31",
  "rgb": {
    "r": 112,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 78.462,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.12217,
    "h": 124.6
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#708C31
secondary
#7E66B3
accent
#50D87A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #708C31

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

Preview Lab → · Contrast checker → · Palette generator →

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