#668C30#668C30

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

Color values

HEX#668C30
RGBrgb(102, 140, 48)
HSLhsl(85, 49%, 37%)
HSVhsv(85, 66%, 55%)
CMYKcmyk(27.1%, 0%, 65.7%, 45.1%)
CIE-LABlab(53.81, -28.37, 43.45)
CIE-LCHlch(53.81, 51.89, 123.14°)
OKLaboklab(59.21% -0.0803 0.0997)
OKLCHoklch(59.21% 0.128 128.9)
XYZxyz(15.3910, 21.7940, 6.1915)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C30 #56308C
analogous
#8C8430 #668C30 #388C30
triadic
#668C30 #30668C #8C3066
tetradic
#668C30 #308C84 #56308C #8C3038
square
#668C30 #308C84 #56308C #8C3038
split-complementary
#668C30 #30388C #84308C
monochromatic
#243111 #455E20 #668C30 #87BA40 #A4CC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668C30#FFFFFF#000000##000000
##668C301.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)
#938224
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#698679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668c30;
/* rgb */ color: rgb(102, 140, 48);
/* oklch */ color: oklch(59.2% 0.128 128.9);
Tailwind
colors: {
  custom: {
    50: '#94ae6d',
    500: '#668c30',
    950: '#000000',
  },
}
SCSS
$custom: #668c30;
$custom-light: #94ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668c30",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 84.783,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.12798,
    "h": 128.9
  },
  "luminance": 0.21794
}

Semantic roles & 50–950 ramp

primary
#668C30
secondary
#8564B3
accent
#4FD888
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668C30

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

Preview Lab → · Contrast checker → · Palette generator →

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