#668D26#668D26

#668D26 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.137 H 128.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#668D26
RGBrgb(102, 141, 38)
HSLhsl(83, 58%, 35%)
HSVhsv(83, 73%, 55%)
CMYKcmyk(27.7%, 0%, 73%, 44.7%)
CIE-LABlab(54.04, -29.59, 47.86)
CIE-LCHlch(54.04, 56.27, 121.73°)
OKLaboklab(59.38% -0.0845 0.1075)
OKLCHoklch(59.38% 0.137 128.2)
XYZxyz(15.3542, 22.0141, 5.2735)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D26 #4D268D
analogous
#8D8026 #668D26 #338D26
triadic
#668D26 #26668D #8D2666
tetradic
#668D26 #268D80 #4D268D #8D2633
square
#668D26 #268D80 #4D268D #8D2633
split-complementary
#668D26 #26338D #80268D
monochromatic
#202D0C #435D19 #668D26 #89BD33 #A5D35B

Accessibility & contrast

On white

3.89
#668D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#668D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D26
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D26#FFFFFF#000000##000000
##668D261.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948314
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#6A8779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d26;
/* rgb */ color: rgb(102, 141, 38);
/* oklch */ color: oklch(59.4% 0.137 128.2);
Tailwind
colors: {
  custom: {
    50: '#95ae67',
    500: '#668d26',
    950: '#000000',
  },
}
SCSS
$custom: #668d26;
$custom-light: #95ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#668d26",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 82.718,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.13673,
    "h": 128.2
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#668D26
secondary
#7C57B8
accent
#47E181
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D26

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

Preview Lab → · Contrast checker → · Palette generator →

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