#608312#608312

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

Color values

HEX#608312
RGBrgb(96, 131, 18)
HSLhsl(79, 76%, 29%)
HSVhsv(79, 86%, 51%)
CMYKcmyk(26.7%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.41, -28.30, 50.87)
CIE-LCHlch(50.41, 58.21, 119.09°)
OKLaboklab(56.29% -0.0822 0.1106)
OKLCHoklch(56.29% 0.138 126.6)
XYZxyz(13.0494, 18.7628, 3.5062)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#608312 #351283
analogous
#836E12 #608312 #288312
triadic
#608312 #126083 #831260
tetradic
#608312 #12836E #351283 #831228
square
#608312 #12836E #351283 #831228
split-complementary
#608312 #122883 #6E1283
monochromatic
#141B04 #394D0B #608312 #87B919 #AAE22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##608312#FFFFFF#000000##000000
##6083121.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)
#867720
Tritanopia (blue-blind)
#647C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #608312;
/* rgb */ color: rgb(96, 131, 18);
/* oklch */ color: oklch(56.3% 0.138 126.6);
Tailwind
colors: {
  custom: {
    50: '#91a75d',
    500: '#608312',
    950: '#000000',
  },
}
SCSS
$custom: #608312;
$custom-light: #91a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#608312",
  "rgb": {
    "r": 96,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 78.584,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.13781,
    "h": 126.6
  },
  "luminance": 0.18763
}

Semantic roles & 50–950 ramp

primary
#608312
secondary
#6038B8
accent
#35F270
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #608312

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

Preview Lab → · Contrast checker → · Palette generator →

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