#668D23#668D23

#668D23 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.139 H 128.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#668D23
RGBrgb(102, 141, 35)
HSLhsl(82, 60%, 35%)
HSVhsv(82, 75%, 55%)
CMYKcmyk(27.7%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.02, -29.78, 48.97)
CIE-LCHlch(54.02, 57.32, 121.31°)
OKLaboklab(59.36% -0.0853 0.1093)
OKLCHoklch(59.36% 0.139 128)
XYZxyz(15.3077, 21.9955, 5.0288)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D23 #4A238D
analogous
#8D7F23 #668D23 #318D23
triadic
#668D23 #23668D #8D2366
tetradic
#668D23 #238D7F #4A238D #8D2331
square
#668D23 #238D7F #4A238D #8D2331
split-complementary
#668D23 #23318D #7F238D
monochromatic
#1F2B0B #435C17 #668D23 #89BE2F #A6D555

Accessibility & contrast

On white

3.89
#668D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#668D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D23
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D23#FFFFFF#000000##000000
##668D231.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#6A8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d23;
/* rgb */ color: rgb(102, 141, 35);
/* oklch */ color: oklch(59.4% 0.139 128.0);
Tailwind
colors: {
  custom: {
    50: '#95ae66',
    500: '#668d23',
    950: '#000000',
  },
}
SCSS
$custom: #668d23;
$custom-light: #95ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#668d23",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 82.075,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.13866,
    "h": 128
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#668D23
secondary
#7853B9
accent
#44E37F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D23

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

Preview Lab → · Contrast checker → · Palette generator →

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