#608310#608310

#608310 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.139 H 126.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#608310
RGBrgb(96, 131, 16)
HSLhsl(78, 78%, 29%)
HSVhsv(78, 88%, 51%)
CMYKcmyk(26.7%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.40, -28.37, 51.36)
CIE-LCHlch(50.40, 58.67, 118.92°)
OKLaboklab(56.29% -0.0825 0.1114)
OKLCHoklch(56.29% 0.139 126.5)
XYZxyz(13.0338, 18.7566, 3.4238)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#608310 #331083
analogous
#836D10 #608310 #278310
triadic
#608310 #106083 #831060
tetradic
#608310 #10836D #331083 #831027
square
#608310 #10836D #331083 #831027
split-complementary
#608310 #102783 #6D1083
monochromatic
#141B03 #384C09 #608310 #88BA17 #ACE529

Accessibility & contrast

On white

4.42
#608310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#608310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #608310
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##608310#FFFFFF#000000##000000
##6083101.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#647C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #608310;
/* rgb */ color: rgb(96, 131, 16);
/* oklch */ color: oklch(56.3% 0.139 126.5);
Tailwind
colors: {
  custom: {
    50: '#91a75c',
    500: '#608310',
    950: '#000000',
  },
}
SCSS
$custom: #608310;
$custom-light: #91a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#608310",
  "rgb": {
    "r": 96,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 78.261,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.13858,
    "h": 126.5
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#608310
secondary
#5E36B9
accent
#33F56E
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #608310

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

Preview Lab → · Contrast checker → · Palette generator →

#608310 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva