#708D1F#708D1F

#708D1F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.136 H 123.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#708D1F
RGBrgb(112, 141, 31)
HSLhsl(76, 64%, 34%)
HSVhsv(76, 78%, 55%)
CMYKcmyk(20.6%, 0%, 78%, 44.7%)
CIE-LABlab(54.65, -25.86, 51.21)
CIE-LCHlch(54.65, 57.37, 116.80°)
OKLaboklab(60.03% -0.0756 0.1131)
OKLCHoklch(60.03% 0.136 123.8)
XYZxyz(16.4545, 22.5933, 4.7901)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708D1F #3C1F8D
analogous
#8D731F #708D1F #398D1F
triadic
#708D1F #1F708D #8D1F70
tetradic
#708D1F #1F8D73 #3C1F8D #8D1F39
square
#708D1F #1F8D73 #3C1F8D #8D1F39
split-complementary
#708D1F #1F398D #731F8D
monochromatic
#202909 #485B14 #708D1F #98BF2A #B4D84E

Accessibility & contrast

On white

3.81
#708D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#708D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708D1F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708D1F#FFFFFF#000000##000000
##708D1F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958403
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#768678
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #708d1f;
/* rgb */ color: rgb(112, 141, 31);
/* oklch */ color: oklch(60.0% 0.136 123.8);
Tailwind
colors: {
  custom: {
    50: '#9cae64',
    500: '#708d1f',
    950: '#000000',
  },
}
SCSS
$custom: #708d1f;
$custom-light: #9cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#708d1f",
  "rgb": {
    "r": 112,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 75.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.136,
    "h": 123.8
  },
  "luminance": 0.22593
}

Semantic roles & 50–950 ramp

primary
#708D1F
secondary
#6A4DBB
accent
#41E76D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #708D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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