#708B1F#708B1F

#708B1F is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.5% C 0.133 H 123.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#708B1F
RGBrgb(112, 139, 31)
HSLhsl(75, 64%, 33%)
HSVhsv(75, 78%, 55%)
CMYKcmyk(19.4%, 0%, 77.7%, 45.5%)
CIE-LABlab(54.04, -24.87, 50.63)
CIE-LCHlch(54.04, 56.41, 116.16°)
OKLaboklab(59.53% -0.0729 0.1119)
OKLCHoklch(59.53% 0.133 123.1)
XYZxyz(16.1622, 22.0088, 4.6927)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708B1F #3A1F8B
analogous
#8B701F #708B1F #3A8B1F
triadic
#708B1F #1F708B #8B1F70
tetradic
#708B1F #1F8B70 #3A1F8B #8B1F3A
square
#708B1F #1F8B70 #3A1F8B #8B1F3A
split-complementary
#708B1F #1F3A8B #701F8B
monochromatic
#1F2709 #485914 #708B1F #98BD2A #B5D74D

Accessibility & contrast

On white

3.89
#708B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#708B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708B1F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708B1F#FFFFFF#000000##000000
##708B1F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938204
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#768477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #708b1f;
/* rgb */ color: rgb(112, 139, 31);
/* oklch */ color: oklch(59.5% 0.133 123.1);
Tailwind
colors: {
  custom: {
    50: '#9cad64',
    500: '#708b1f',
    950: '#000000',
  },
}
SCSS
$custom: #708b1f;
$custom-light: #9cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#708b1f",
  "rgb": {
    "r": 112,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.13349,
    "h": 123.1
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#708B1F
secondary
#674CBA
accent
#41E76B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #708B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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