#668C23#668C23

#668C23 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.137 H 127.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#668C23
RGBrgb(102, 140, 35)
HSLhsl(82, 60%, 34%)
HSVhsv(82, 75%, 55%)
CMYKcmyk(27.1%, 0%, 75%, 45.1%)
CIE-LABlab(53.71, -29.31, 48.66)
CIE-LCHlch(53.71, 56.81, 121.06°)
OKLaboklab(59.1% -0.084 0.1087)
OKLCHoklch(59.1% 0.137 127.7)
XYZxyz(15.1610, 21.7020, 4.9799)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C23 #49238C
analogous
#8C7E23 #668C23 #328C23
triadic
#668C23 #23668C #8C2366
tetradic
#668C23 #238C7E #49238C #8C2332
square
#668C23 #238C7E #49238C #8C2332
split-complementary
#668C23 #23328C #7E238C
monochromatic
#1F2A0B #425B17 #668C23 #8ABD2F #A6D455

Accessibility & contrast

On white

3.93
#668C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#668C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C23
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C23#FFFFFF#000000##000000
##668C231.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c23;
/* rgb */ color: rgb(102, 140, 35);
/* oklch */ color: oklch(59.1% 0.137 127.7);
Tailwind
colors: {
  custom: {
    50: '#95ad66',
    500: '#668c23',
    950: '#000000',
  },
}
SCSS
$custom: #668c23;
$custom-light: #95ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#668c23",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 81.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.13735,
    "h": 127.7
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#668C23
secondary
#7752B8
accent
#45E37E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C23

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

Preview Lab → · Contrast checker → · Palette generator →

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