#608228#608228

#608228 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.124 H 127.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#608228
RGBrgb(96, 130, 40)
HSLhsl(83, 53%, 33%)
HSVhsv(83, 69%, 51%)
CMYKcmyk(26.2%, 0%, 69.2%, 49%)
CIE-LABlab(50.22, -26.58, 43.02)
CIE-LCHlch(50.22, 50.57, 121.71°)
OKLaboklab(56.18% -0.0757 0.0977)
OKLCHoklch(56.18% 0.124 127.8)
XYZxyz(13.1895, 18.6050, 4.9033)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#608228 #4A2882
analogous
#827728 #608228 #338228
triadic
#608228 #286082 #822860
tetradic
#608228 #288277 #4A2882 #822833
square
#608228 #288277 #4A2882 #822833
split-complementary
#608228 #283382 #772882
monochromatic
#1B240B #3D531A #608228 #83B136 #A0CC59

Accessibility & contrast

On white

4.45
#608228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#608228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #608228
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##608228#FFFFFF#000000##000000
##6082281.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#637C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #608228;
/* rgb */ color: rgb(96, 130, 40);
/* oklch */ color: oklch(56.2% 0.124 127.8);
Tailwind
colors: {
  custom: {
    50: '#90a667',
    500: '#608228',
    950: '#000000',
  },
}
SCSS
$custom: #608228;
$custom-light: #90a667;
$custom-dark: #000000;
JSON
{
  "hex": "#608228",
  "rgb": {
    "r": 96,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 82.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.12364,
    "h": 127.8
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#608228
secondary
#7855B1
accent
#4BDC82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #608228

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

Preview Lab → · Contrast checker → · Palette generator →

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