#708C1B#708C1B

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

Color values

HEX#708C1B
RGBrgb(112, 140, 27)
HSLhsl(75, 68%, 33%)
HSVhsv(75, 81%, 55%)
CMYKcmyk(20%, 0%, 80.7%, 45.1%)
CIE-LABlab(54.32, -25.56, 52.20)
CIE-LCHlch(54.32, 58.12, 116.09°)
OKLaboklab(59.76% -0.075 0.1145)
OKLCHoklch(59.76% 0.137 123.3)
XYZxyz(16.2582, 22.2799, 4.4806)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708C1B #371B8C
analogous
#8C6F1B #708C1B #388C1B
triadic
#708C1B #1B708C #8C1B70
tetradic
#708C1B #1B8C6F #371B8C #8C1B38
square
#708C1B #1B8C6F #371B8C #8C1B38
split-complementary
#708C1B #1B388C #6F1B8C
monochromatic
#1E2507 #475911 #708C1B #99BF25 #B6DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##708C1B#FFFFFF#000000##000000
##708C1B1.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)
#958300
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#768577
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #708c1b;
/* rgb */ color: rgb(112, 140, 27);
/* oklch */ color: oklch(59.8% 0.137 123.3);
Tailwind
colors: {
  custom: {
    50: '#9dad62',
    500: '#708c1b',
    950: '#000000',
  },
}
SCSS
$custom: #708c1b;
$custom-light: #9dad62;
$custom-dark: #000000;
JSON
{
  "hex": "#708c1b",
  "rgb": {
    "r": 112,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 74.867,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.13687,
    "h": 123.3
  },
  "luminance": 0.2228
}

Semantic roles & 50–950 ramp

primary
#708C1B
secondary
#6346BD
accent
#3DEB68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #708C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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