#668C26#668C26

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

Color values

HEX#668C26
RGBrgb(102, 140, 38)
HSLhsl(82, 57%, 35%)
HSVhsv(82, 73%, 55%)
CMYKcmyk(27.1%, 0%, 72.9%, 45.1%)
CIE-LABlab(53.73, -29.12, 47.55)
CIE-LCHlch(53.73, 55.75, 121.48°)
OKLaboklab(59.12% -0.0832 0.1068)
OKLCHoklch(59.12% 0.135 127.9)
XYZxyz(15.2074, 21.7206, 5.2246)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C26 #4C268C
analogous
#8C7F26 #668C26 #338C26
triadic
#668C26 #26668C #8C2666
tetradic
#668C26 #268C7F #4C268C #8C2633
square
#668C26 #268C7F #4C268C #8C2633
split-complementary
#668C26 #26338C #7F268C
monochromatic
#202C0C #435C19 #668C26 #89BC33 #A6D25A

Accessibility & contrast

On white

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

On black

5.34
#668C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C26
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C26#FFFFFF#000000##000000
##668C261.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938215
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#6A8678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c26;
/* rgb */ color: rgb(102, 140, 38);
/* oklch */ color: oklch(59.1% 0.135 127.9);
Tailwind
colors: {
  custom: {
    50: '#95ad67',
    500: '#668c26',
    950: '#000000',
  },
}
SCSS
$custom: #668c26;
$custom-light: #95ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#668c26",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 82.353,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.13541,
    "h": 127.9
  },
  "luminance": 0.21721
}

Semantic roles & 50–950 ramp

primary
#668C26
secondary
#7B57B7
accent
#47E180
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C26

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

Preview Lab → · Contrast checker → · Palette generator →

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