#668E36#668E36

#668E36 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.126 H 130.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#668E36
RGBrgb(102, 142, 54)
HSLhsl(87, 45%, 38%)
HSVhsv(87, 62%, 56%)
CMYKcmyk(28.2%, 0%, 62%, 44.3%)
CIE-LABlab(54.49, -28.80, 41.46)
CIE-LCHlch(54.49, 50.48, 124.78°)
OKLaboklab(59.78% -0.0809 0.0962)
OKLCHoklch(59.78% 0.126 130.1)
XYZxyz(15.8182, 22.4367, 6.9866)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E36 #5E368E
analogous
#8E8A36 #668E36 #3A8E36
triadic
#668E36 #36668E #8E3666
tetradic
#668E36 #368E8A #5E368E #8E363A
square
#668E36 #368E8A #5E368E #8E363A
split-complementary
#668E36 #363A8E #8A368E
monochromatic
#263514 #466225 #668E36 #86B948 #A3CA74

Accessibility & contrast

On white

3.83
#668E36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#668E36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E36
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E36#FFFFFF#000000##000000
##668E361.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842C
Deuteranopia (green-blind)
#8F813C
Tritanopia (blue-blind)
#68887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e36;
/* rgb */ color: rgb(102, 142, 54);
/* oklch */ color: oklch(59.8% 0.126 130.1);
Tailwind
colors: {
  custom: {
    50: '#94af71',
    500: '#668e36',
    950: '#000000',
  },
}
SCSS
$custom: #668e36;
$custom-light: #94af71;
$custom-dark: #000000;
JSON
{
  "hex": "#668e36",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 54
  },
  "hsl": {
    "h": 87.273,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.12571,
    "h": 130.1
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

primary
#668E36
secondary
#8D6DB3
accent
#53D58E
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668E36

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

Preview Lab → · Contrast checker → · Palette generator →

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