#668C29#668C29

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

Color values

HEX#668C29
RGBrgb(102, 140, 41)
HSLhsl(83, 55%, 35%)
HSVhsv(83, 71%, 55%)
CMYKcmyk(27.1%, 0%, 70.7%, 45.1%)
CIE-LABlab(53.75, -28.91, 46.37)
CIE-LCHlch(53.75, 54.65, 121.94°)
OKLaboklab(59.15% -0.0824 0.1048)
OKLCHoklch(59.15% 0.133 128.2)
XYZxyz(15.2578, 21.7407, 5.4899)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C29 #4F298C
analogous
#8C8029 #668C29 #358C29
triadic
#668C29 #29668C #8C2966
tetradic
#668C29 #298C80 #4F298C #8C2935
square
#668C29 #298C80 #4F298C #8C2935
split-complementary
#668C29 #29358C #80298C
monochromatic
#212D0D #445D1B #668C29 #88BB37 #A5D05F

Accessibility & contrast

On white

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

On black

5.35
#668C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C29
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C29#FFFFFF#000000##000000
##668C291.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c29;
/* rgb */ color: rgb(102, 140, 41);
/* oklch */ color: oklch(59.1% 0.133 128.2);
Tailwind
colors: {
  custom: {
    50: '#95ad69',
    500: '#668c29',
    950: '#000000',
  },
}
SCSS
$custom: #668c29;
$custom-light: #95ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#668c29",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 83.03,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.13333,
    "h": 128.2
  },
  "luminance": 0.21741
}

Semantic roles & 50–950 ramp

primary
#668C29
secondary
#7E5BB6
accent
#4ADE83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668C29

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

Preview Lab → · Contrast checker → · Palette generator →

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