#668A28#668A28

#668A28 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.131 H 127.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#668A28
RGBrgb(102, 138, 40)
HSLhsl(82, 55%, 35%)
HSVhsv(82, 71%, 54%)
CMYKcmyk(26.1%, 0%, 71%, 45.9%)
CIE-LABlab(53.12, -28.02, 46.13)
CIE-LCHlch(53.12, 53.97, 121.27°)
OKLaboklab(58.63% -0.0801 0.1041)
OKLCHoklch(58.63% 0.131 127.6)
XYZxyz(14.9510, 21.1546, 5.3026)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A28 #4C288A
analogous
#8A7D28 #668A28 #358A28
triadic
#668A28 #28668A #8A2866
tetradic
#668A28 #288A7D #4C288A #8A2835
square
#668A28 #288A7D #4C288A #8A2835
split-complementary
#668A28 #28358A #7D288A
monochromatic
#202B0C #435B1A #668A28 #89B936 #A6D05D

Accessibility & contrast

On white

4.01
#668A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#668A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A28
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A28#FFFFFF#000000##000000
##668A281.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#6A8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a28;
/* rgb */ color: rgb(102, 138, 40);
/* oklch */ color: oklch(58.6% 0.131 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ac68',
    500: '#668a28',
    950: '#000000',
  },
}
SCSS
$custom: #668a28;
$custom-light: #95ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#668a28",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 82.041,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.13136,
    "h": 127.6
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#668A28
secondary
#7B59B5
accent
#49DE80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A28

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

Preview Lab → · Contrast checker → · Palette generator →

#668A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva