#668331#668331

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

Color values

HEX#668331
RGBrgb(102, 131, 49)
HSLhsl(81, 46%, 35%)
HSVhsv(81, 63%, 51%)
CMYKcmyk(22.1%, 0%, 62.6%, 48.6%)
CIE-LABlab(51.01, -23.85, 39.94)
CIE-LCHlch(51.01, 46.51, 120.84°)
OKLaboklab(56.95% -0.0677 0.0923)
OKLCHoklch(56.95% 0.115 126.3)
XYZxyz(14.1502, 19.2789, 5.8808)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668331 #4E3183
analogous
#837731 #668331 #3D8331
triadic
#668331 #316683 #833166
tetradic
#668331 #318377 #4E3183 #83313D
square
#668331 #318377 #4E3183 #83313D
split-complementary
#668331 #313D83 #773183
monochromatic
#212A10 #435620 #668331 #89B042 #A5C668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668331#FFFFFF#000000##000000
##6683311.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)
#8A7B28
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#6A7D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668331;
/* rgb */ color: rgb(102, 131, 49);
/* oklch */ color: oklch(57.0% 0.115 126.3);
Tailwind
colors: {
  custom: {
    50: '#94a76d',
    500: '#668331',
    950: '#000000',
  },
}
SCSS
$custom: #668331;
$custom-light: #94a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#668331",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 81.22,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.11452,
    "h": 126.3
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#668331
secondary
#7D62AE
accent
#53D581
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668331

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

Preview Lab → · Contrast checker → · Palette generator →

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