#668A29#668A29

#668A29 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.131 H 127.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#668A29
RGBrgb(102, 138, 41)
HSLhsl(82, 54%, 35%)
HSVhsv(82, 70%, 54%)
CMYKcmyk(26.1%, 0%, 70.3%, 45.9%)
CIE-LABlab(53.13, -27.95, 45.73)
CIE-LCHlch(53.13, 53.59, 121.43°)
OKLaboklab(58.64% -0.0798 0.1035)
OKLCHoklch(58.64% 0.131 127.6)
XYZxyz(14.9682, 21.1615, 5.3934)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A29 #4D298A
analogous
#8A7D29 #668A29 #358A29
triadic
#668A29 #29668A #8A2966
tetradic
#668A29 #298A7D #4D298A #8A2935
square
#668A29 #298A7D #4D298A #8A2935
split-complementary
#668A29 #29358A #7D298A
monochromatic
#202C0D #435B1B #668A29 #89B937 #A5CF5E

Accessibility & contrast

On white

4.01
#668A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#668A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A29
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A29#FFFFFF#000000##000000
##668A291.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a29;
/* rgb */ color: rgb(102, 138, 41);
/* oklch */ color: oklch(58.6% 0.131 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ac69',
    500: '#668a29',
    950: '#000000',
  },
}
SCSS
$custom: #668a29;
$custom-light: #95ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#668a29",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 82.268,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.13064,
    "h": 127.6
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#668A29
secondary
#7C5AB5
accent
#4ADE81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A29

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

Preview Lab → · Contrast checker → · Palette generator →

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