#668D30#668D30

#668D30 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.129 H 129.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#668D30
RGBrgb(102, 141, 48)
HSLhsl(85, 49%, 37%)
HSVhsv(85, 66%, 55%)
CMYKcmyk(27.7%, 0%, 66%, 44.7%)
CIE-LABlab(54.12, -28.85, 43.79)
CIE-LCHlch(54.12, 52.43, 123.38°)
OKLaboklab(59.47% -0.0816 0.1004)
OKLCHoklch(59.47% 0.129 129.1)
XYZxyz(15.5378, 22.0876, 6.2404)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D30 #57308D
analogous
#8D8530 #668D30 #388D30
triadic
#668D30 #30668D #8D3066
tetradic
#668D30 #308D85 #57308D #8D3038
square
#668D30 #308D85 #57308D #8D3038
split-complementary
#668D30 #30388D #85308D
monochromatic
#243211 #455F20 #668D30 #87BB40 #A4CD6B

Accessibility & contrast

On white

3.88
#668D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#668D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D30
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D30#FFFFFF#000000##000000
##668D301.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948324
Deuteranopia (green-blind)
#8E8137
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d30;
/* rgb */ color: rgb(102, 141, 48);
/* oklch */ color: oklch(59.5% 0.129 129.1);
Tailwind
colors: {
  custom: {
    50: '#95ae6d',
    500: '#668d30',
    950: '#000000',
  },
}
SCSS
$custom: #668d30;
$custom-light: #95ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668d30",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 85.161,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.12936,
    "h": 129.1
  },
  "luminance": 0.22088
}

Semantic roles & 50–950 ramp

primary
#668D30
secondary
#8665B4
accent
#4FD989
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668D30

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

Preview Lab → · Contrast checker → · Palette generator →

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