#668F23#668F23

#668F23 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.141 H 128.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#668F23
RGBrgb(102, 143, 35)
HSLhsl(83, 61%, 35%)
HSVhsv(83, 76%, 56%)
CMYKcmyk(28.7%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.65, -30.73, 49.58)
CIE-LCHlch(54.65, 58.33, 121.79°)
OKLaboklab(59.86% -0.0879 0.1106)
OKLCHoklch(59.86% 0.141 128.5)
XYZxyz(15.6053, 22.5907, 5.1280)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F23 #4C238F
analogous
#8F8223 #668F23 #308F23
triadic
#668F23 #23668F #8F2366
tetradic
#668F23 #238F82 #4C238F #8F2330
square
#668F23 #238F82 #4C238F #8F2330
split-complementary
#668F23 #23308F #82238F
monochromatic
#202D0B #435E17 #668F23 #89C02F #A6D657

Accessibility & contrast

On white

3.81
#668F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#668F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F23
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F23#FFFFFF#000000##000000
##668F231.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850D
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f23;
/* rgb */ color: rgb(102, 143, 35);
/* oklch */ color: oklch(59.9% 0.141 128.5);
Tailwind
colors: {
  custom: {
    50: '#95b066',
    500: '#668f23',
    950: '#000000',
  },
}
SCSS
$custom: #668f23;
$custom-light: #95b066;
$custom-dark: #000000;
JSON
{
  "hex": "#668f23",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 82.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.14126,
    "h": 128.5
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

primary
#668F23
secondary
#7B54BA
accent
#44E481
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F23

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

Preview Lab → · Contrast checker → · Palette generator →

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