#668E38#668E38

#668E38 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.124 H 130.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#668E38
RGBrgb(102, 142, 56)
HSLhsl(88, 43%, 39%)
HSVhsv(88, 61%, 56%)
CMYKcmyk(28.2%, 0%, 60.6%, 44.3%)
CIE-LABlab(54.51, -28.61, 40.54)
CIE-LCHlch(54.51, 49.62, 125.21°)
OKLaboklab(59.81% -0.0802 0.0945)
OKLCHoklch(59.81% 0.124 130.3)
XYZxyz(15.8662, 22.4559, 7.2391)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E38 #60388E
analogous
#8E8B38 #668E38 #3B8E38
triadic
#668E38 #38668E #8E3866
tetradic
#668E38 #388E8B #60388E #8E383B
square
#668E38 #388E8B #60388E #8E383B
split-complementary
#668E38 #383B8E #8B388E
monochromatic
#273615 #466227 #668E38 #85B84B #A3C977

Accessibility & contrast

On white

3.82
#668E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#668E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E38
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E38#FFFFFF#000000##000000
##668E381.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842F
Deuteranopia (green-blind)
#8F813E
Tritanopia (blue-blind)
#68887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e38;
/* rgb */ color: rgb(102, 142, 56);
/* oklch */ color: oklch(59.8% 0.124 130.3);
Tailwind
colors: {
  custom: {
    50: '#94af72',
    500: '#668e38',
    950: '#000000',
  },
}
SCSS
$custom: #668e38;
$custom-light: #94af72;
$custom-dark: #000000;
JSON
{
  "hex": "#668e38",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 87.907,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.12393,
    "h": 130.3
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#668E38
secondary
#8F6FB2
accent
#55D38F
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668E38

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

Preview Lab → · Contrast checker → · Palette generator →

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