#668C32#668C32

#668C32 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.126 H 129.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#668C32
RGBrgb(102, 140, 50)
HSLhsl(85, 47%, 37%)
HSVhsv(85, 64%, 55%)
CMYKcmyk(27.1%, 0%, 64.3%, 45.1%)
CIE-LABlab(53.83, -28.20, 42.57)
CIE-LCHlch(53.83, 51.06, 123.52°)
OKLaboklab(59.23% -0.0796 0.0981)
OKLCHoklch(59.23% 0.126 129.1)
XYZxyz(15.4332, 21.8109, 6.4138)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C32 #58328C
analogous
#8C8532 #668C32 #398C32
triadic
#668C32 #32668C #8C3266
tetradic
#668C32 #328C85 #58328C #8C3239
square
#668C32 #328C85 #58328C #8C3239
split-complementary
#668C32 #32398C #85328C
monochromatic
#243212 #455F22 #668C32 #87B942 #A3CB6D

Accessibility & contrast

On white

3.92
#668C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#668C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C32
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C32#FFFFFF#000000##000000
##668C321.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938227
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c32;
/* rgb */ color: rgb(102, 140, 50);
/* oklch */ color: oklch(59.2% 0.126 129.1);
Tailwind
colors: {
  custom: {
    50: '#94ae6e',
    500: '#668c32',
    950: '#000000',
  },
}
SCSS
$custom: #668c32;
$custom-light: #94ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#668c32",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 85.333,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.12632,
    "h": 129.1
  },
  "luminance": 0.21811
}

Semantic roles & 50–950 ramp

primary
#668C32
secondary
#8767B3
accent
#51D789
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C32

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

Preview Lab → · Contrast checker → · Palette generator →

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