#668332#668332

#668332 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.114 H 126.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#668332
RGBrgb(102, 131, 50)
HSLhsl(81, 45%, 35%)
HSVhsv(81, 62%, 51%)
CMYKcmyk(22.1%, 0%, 61.8%, 48.6%)
CIE-LABlab(51.02, -23.76, 39.48)
CIE-LCHlch(51.02, 46.07, 121.04°)
OKLaboklab(56.96% -0.0674 0.0915)
OKLCHoklch(56.96% 0.114 126.4)
XYZxyz(14.1715, 19.2875, 5.9932)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668332 #4F3283
analogous
#837732 #668332 #3E8332
triadic
#668332 #326683 #833266
tetradic
#668332 #328377 #4F3283 #83323E
square
#668332 #328377 #4F3283 #83323E
split-complementary
#668332 #323E83 #773283
monochromatic
#212A10 #445721 #668332 #88AF43 #A5C669

Accessibility & contrast

On white

4.32
#668332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#668332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668332
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668332#FFFFFF#000000##000000
##6683321.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#6A7D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668332;
/* rgb */ color: rgb(102, 131, 50);
/* oklch */ color: oklch(57.0% 0.114 126.4);
Tailwind
colors: {
  custom: {
    50: '#94a76d',
    500: '#668332',
    950: '#000000',
  },
}
SCSS
$custom: #668332;
$custom-light: #94a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#668332",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 81.481,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.11362,
    "h": 126.4
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

primary
#668332
secondary
#7E63AE
accent
#53D482
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668332

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

Preview Lab → · Contrast checker → · Palette generator →

#668332 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva