#668E23#668E23

#668E23 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.140 H 128.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#668E23
RGBrgb(102, 142, 35)
HSLhsl(82, 60%, 35%)
HSVhsv(82, 75%, 56%)
CMYKcmyk(28.2%, 0%, 75.4%, 44.3%)
CIE-LABlab(54.34, -30.26, 49.28)
CIE-LCHlch(54.34, 57.82, 121.55°)
OKLaboklab(59.61% -0.0866 0.1099)
OKLCHoklch(59.61% 0.14 128.2)
XYZxyz(15.4559, 22.2918, 5.0782)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E23 #4B238E
analogous
#8E8123 #668E23 #308E23
triadic
#668E23 #23668E #8E2366
tetradic
#668E23 #238E81 #4B238E #8E2330
square
#668E23 #238E81 #4B238E #8E2330
split-complementary
#668E23 #23308E #81238E
monochromatic
#1F2C0B #435D17 #668E23 #89BF2F #A6D556

Accessibility & contrast

On white

3.85
#668E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#668E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E23
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E23#FFFFFF#000000##000000
##668E231.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e23;
/* rgb */ color: rgb(102, 142, 35);
/* oklch */ color: oklch(59.6% 0.140 128.2);
Tailwind
colors: {
  custom: {
    50: '#95af66',
    500: '#668e23',
    950: '#000000',
  },
}
SCSS
$custom: #668e23;
$custom-light: #95af66;
$custom-dark: #000000;
JSON
{
  "hex": "#668e23",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 82.43,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.13996,
    "h": 128.2
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#668E23
secondary
#7A53B9
accent
#44E480
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E23

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

Preview Lab → · Contrast checker → · Palette generator →

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