#708A1F#708A1F

#708A1F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.132 H 122.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#708A1F
RGBrgb(112, 138, 31)
HSLhsl(75, 63%, 33%)
HSVhsv(75, 78%, 54%)
CMYKcmyk(18.8%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.73, -24.38, 50.34)
CIE-LCHlch(53.73, 55.93, 115.84°)
OKLaboklab(59.28% -0.0715 0.1112)
OKLCHoklch(59.28% 0.132 122.7)
XYZxyz(16.0181, 21.7206, 4.6447)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#708A1F #391F8A
analogous
#8A6E1F #708A1F #3B8A1F
triadic
#708A1F #1F708A #8A1F70
tetradic
#708A1F #1F8A6E #391F8A #8A1F3B
square
#708A1F #1F8A6E #391F8A #8A1F3B
split-complementary
#708A1F #1F3B8A #6E1F8A
monochromatic
#1F2609 #475814 #708A1F #99BC2A #B5D74C

Accessibility & contrast

On white

3.93
#708A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#708A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #708A1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##708A1F#FFFFFF#000000##000000
##708A1F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#768376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #708a1f;
/* rgb */ color: rgb(112, 138, 31);
/* oklch */ color: oklch(59.3% 0.132 122.7);
Tailwind
colors: {
  custom: {
    50: '#9cac64',
    500: '#708a1f',
    950: '#000000',
  },
}
SCSS
$custom: #708a1f;
$custom-light: #9cac64;
$custom-dark: #000000;
JSON
{
  "hex": "#708a1f",
  "rgb": {
    "r": 112,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 74.579,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.13224,
    "h": 122.7
  },
  "luminance": 0.21721
}

Semantic roles & 50–950 ramp

primary
#708A1F
secondary
#664BBA
accent
#41E66A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #708A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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