#708C1F#708C1F

#708C1F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.8% C 0.135 H 123.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#708C1F
RGBrgb(112, 140, 31)
HSLhsl(75, 64%, 34%)
HSVhsv(75, 78%, 55%)
CMYKcmyk(20%, 0%, 77.9%, 45.1%)
CIE-LABlab(54.34, -25.37, 50.92)
CIE-LCHlch(54.34, 56.89, 116.48°)
OKLaboklab(59.78% -0.0742 0.1125)
OKLCHoklch(59.78% 0.135 123.4)
XYZxyz(16.3077, 22.2997, 4.7412)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708C1F #3B1F8C
analogous
#8C711F #708C1F #398C1F
triadic
#708C1F #1F708C #8C1F70
tetradic
#708C1F #1F8C71 #3B1F8C #8C1F39
square
#708C1F #1F8C71 #3B1F8C #8C1F39
split-complementary
#708C1F #1F398C #711F8C
monochromatic
#202809 #485A14 #708C1F #98BE2A #B4D84E

Accessibility & contrast

On white

3.85
#708C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#708C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708C1F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708C1F#FFFFFF#000000##000000
##708C1F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948304
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#768578
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #708c1f;
/* rgb */ color: rgb(112, 140, 31);
/* oklch */ color: oklch(59.8% 0.135 123.4);
Tailwind
colors: {
  custom: {
    50: '#9cad64',
    500: '#708c1f',
    950: '#000000',
  },
}
SCSS
$custom: #708c1f;
$custom-light: #9cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#708c1f",
  "rgb": {
    "r": 112,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 75.413,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.13474,
    "h": 123.4
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#708C1F
secondary
#694CBB
accent
#41E76C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #708C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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