#668D36#668D36

#668D36 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.124 H 129.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#668D36
RGBrgb(102, 141, 54)
HSLhsl(87, 45%, 38%)
HSVhsv(87, 62%, 55%)
CMYKcmyk(27.7%, 0%, 61.7%, 44.7%)
CIE-LABlab(54.18, -28.32, 41.11)
CIE-LCHlch(54.18, 49.92, 124.56°)
OKLaboklab(59.53% -0.0796 0.0954)
OKLCHoklch(59.53% 0.124 129.8)
XYZxyz(15.6701, 22.1405, 6.9373)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D36 #5D368D
analogous
#8D8836 #668D36 #3A8D36
triadic
#668D36 #36668D #8D3666
tetradic
#668D36 #368D88 #5D368D #8D363A
square
#668D36 #368D88 #5D368D #8D363A
split-complementary
#668D36 #363A8D #88368D
monochromatic
#263414 #466125 #668D36 #86B947 #A3CA74

Accessibility & contrast

On white

3.87
#668D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#668D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D36
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D36#FFFFFF#000000##000000
##668D361.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832C
Deuteranopia (green-blind)
#8E813C
Tritanopia (blue-blind)
#68877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668d36;
/* rgb */ color: rgb(102, 141, 54);
/* oklch */ color: oklch(59.5% 0.124 129.8);
Tailwind
colors: {
  custom: {
    50: '#94ae71',
    500: '#668d36',
    950: '#000000',
  },
}
SCSS
$custom: #668d36;
$custom-light: #94ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#668d36",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 86.897,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.12429,
    "h": 129.8
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#668D36
secondary
#8C6DB2
accent
#53D48D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668D36

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

Preview Lab → · Contrast checker → · Palette generator →

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