#608828#608828

#608828 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.7% C 0.132 H 129.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#608828
RGBrgb(96, 136, 40)
HSLhsl(85, 55%, 35%)
HSVhsv(85, 71%, 53%)
CMYKcmyk(29.4%, 0%, 70.6%, 46.7%)
CIE-LABlab(52.12, -29.48, 44.99)
CIE-LCHlch(52.12, 53.78, 123.23°)
OKLaboklab(57.72% -0.0837 0.1019)
OKLCHoklch(57.72% 0.132 129.4)
XYZxyz(14.0110, 20.2479, 5.1771)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#608828 #502888
analogous
#888028 #608828 #308828
triadic
#608828 #286088 #882860
tetradic
#608828 #288880 #502888 #882830
square
#608828 #288880 #502888 #882830
split-complementary
#608828 #283088 #802888
monochromatic
#1D290C #3F591A #608828 #81B736 #9FCF5B

Accessibility & contrast

On white

4.16
#608828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#608828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #608828
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##608828#FFFFFF#000000##000000
##6088281.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#638275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #608828;
/* rgb */ color: rgb(96, 136, 40);
/* oklch */ color: oklch(57.7% 0.132 129.4);
Tailwind
colors: {
  custom: {
    50: '#90ab68',
    500: '#608828',
    950: '#000000',
  },
}
SCSS
$custom: #608828;
$custom-light: #90ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#608828",
  "rgb": {
    "r": 96,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 85,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.13182,
    "h": 129.4
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#608828
secondary
#7E58B4
accent
#4ADE88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #608828

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

Preview Lab → · Contrast checker → · Palette generator →

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