#668E30#668E30

#668E30 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.131 H 129.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#668E30
RGBrgb(102, 142, 48)
HSLhsl(86, 49%, 37%)
HSVhsv(86, 66%, 56%)
CMYKcmyk(28.2%, 0%, 66.2%, 44.3%)
CIE-LABlab(54.43, -29.33, 44.12)
CIE-LCHlch(54.43, 52.98, 123.61°)
OKLaboklab(59.72% -0.0829 0.1011)
OKLCHoklch(59.72% 0.131 129.4)
XYZxyz(15.6859, 22.3838, 6.2898)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E30 #58308E
analogous
#8E8730 #668E30 #378E30
triadic
#668E30 #30668E #8E3066
tetradic
#668E30 #308E87 #58308E #8E3037
square
#668E30 #308E87 #58308E #8E3037
split-complementary
#668E30 #30378E #87308E
monochromatic
#243311 #456021 #668E30 #87BC3F #A3CD6B

Accessibility & contrast

On white

3.83
#668E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#668E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E30
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E30#FFFFFF#000000##000000
##668E301.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958424
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#69887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e30;
/* rgb */ color: rgb(102, 142, 48);
/* oklch */ color: oklch(59.7% 0.131 129.4);
Tailwind
colors: {
  custom: {
    50: '#95af6d',
    500: '#668e30',
    950: '#000000',
  },
}
SCSS
$custom: #668e30;
$custom-light: #95af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668e30",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 85.532,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.13074,
    "h": 129.4
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#668E30
secondary
#8765B4
accent
#4FD98A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668E30

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

Preview Lab → · Contrast checker → · Palette generator →

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