#668C31#668C31

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

Color values

HEX#668C31
RGBrgb(102, 140, 49)
HSLhsl(85, 48%, 37%)
HSVhsv(85, 65%, 55%)
CMYKcmyk(27.1%, 0%, 65%, 45.1%)
CIE-LABlab(53.82, -28.28, 43.01)
CIE-LCHlch(53.82, 51.48, 123.33°)
OKLaboklab(59.22% -0.08 0.0989)
OKLCHoklch(59.22% 0.127 129)
XYZxyz(15.4119, 21.8023, 6.3014)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C31 #57318C
analogous
#8C8531 #668C31 #398C31
triadic
#668C31 #31668C #8C3166
tetradic
#668C31 #318C85 #57318C #8C3139
square
#668C31 #318C85 #57318C #8C3139
split-complementary
#668C31 #31398C #85318C
monochromatic
#243111 #455F21 #668C31 #87B941 #A4CC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C31#FFFFFF#000000##000000
##668C311.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)
#938226
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c31;
/* rgb */ color: rgb(102, 140, 49);
/* oklch */ color: oklch(59.2% 0.127 129.0);
Tailwind
colors: {
  custom: {
    50: '#94ae6d',
    500: '#668c31',
    950: '#000000',
  },
}
SCSS
$custom: #668c31;
$custom-light: #94ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668c31",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 85.055,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.12716,
    "h": 129
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

primary
#668C31
secondary
#8666B3
accent
#50D889
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C31

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

Preview Lab → · Contrast checker → · Palette generator →

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