#668E24#668E24

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

Color values

HEX#668E24
RGBrgb(102, 142, 36)
HSLhsl(83, 60%, 35%)
HSVhsv(83, 75%, 56%)
CMYKcmyk(28.2%, 0%, 74.6%, 44.3%)
CIE-LABlab(54.34, -30.20, 48.91)
CIE-LCHlch(54.34, 57.48, 121.69°)
OKLaboklab(59.62% -0.0864 0.1093)
OKLCHoklch(59.62% 0.139 128.3)
XYZxyz(15.4709, 22.2978, 5.1575)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E24 #4C248E
analogous
#8E8124 #668E24 #318E24
triadic
#668E24 #24668E #8E2466
tetradic
#668E24 #248E81 #4C248E #8E2431
square
#668E24 #248E81 #4C248E #8E2431
split-complementary
#668E24 #24318E #81248E
monochromatic
#202C0B #435D18 #668E24 #89BF30 #A6D558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E24#FFFFFF#000000##000000
##668E241.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)
#958410
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#6A877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e24;
/* rgb */ color: rgb(102, 142, 36);
/* oklch */ color: oklch(59.6% 0.139 128.3);
Tailwind
colors: {
  custom: {
    50: '#95af66',
    500: '#668e24',
    950: '#000000',
  },
}
SCSS
$custom: #668e24;
$custom-light: #95af66;
$custom-dark: #000000;
JSON
{
  "hex": "#668e24",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 82.642,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.13934,
    "h": 128.3
  },
  "luminance": 0.22298
}

Semantic roles & 50–950 ramp

primary
#668E24
secondary
#7B55B9
accent
#45E381
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E24

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

Preview Lab → · Contrast checker → · Palette generator →

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