#668F29#668F29

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

Color values

HEX#668F29
RGBrgb(102, 143, 41)
HSLhsl(84, 55%, 36%)
HSVhsv(84, 71%, 56%)
CMYKcmyk(28.7%, 0%, 71.3%, 43.9%)
CIE-LABlab(54.69, -30.34, 47.33)
CIE-LCHlch(54.69, 56.22, 122.66°)
OKLaboklab(59.91% -0.0863 0.1068)
OKLCHoklch(59.91% 0.137 128.9)
XYZxyz(15.7021, 22.6294, 5.6380)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F29 #52298F
analogous
#8F8529 #668F29 #338F29
triadic
#668F29 #29668F #8F2966
tetradic
#668F29 #298F85 #52298F #8F2933
square
#668F29 #298F85 #52298F #8F2933
split-complementary
#668F29 #29338F #85298F
monochromatic
#22300E #445F1B #668F29 #88BF37 #A4D261

Accessibility & contrast

On white

3.80
#668F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#668F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F29
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F29#FFFFFF#000000##000000
##668F291.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f29;
/* rgb */ color: rgb(102, 143, 41);
/* oklch */ color: oklch(59.9% 0.137 128.9);
Tailwind
colors: {
  custom: {
    50: '#95b069',
    500: '#668f29',
    950: '#000000',
  },
}
SCSS
$custom: #668f29;
$custom-light: #95b069;
$custom-dark: #000000;
JSON
{
  "hex": "#668f29",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 84.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.13734,
    "h": 128.9
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#668F29
secondary
#815CB7
accent
#49DF85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F29

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

Preview Lab → · Contrast checker → · Palette generator →

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