#668F2E#668F2E

#668F2E is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.134 H 129.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#668F2E
RGBrgb(102, 143, 46)
HSLhsl(85, 51%, 37%)
HSVhsv(85, 68%, 56%)
CMYKcmyk(28.7%, 0%, 67.8%, 43.9%)
CIE-LABlab(54.73, -29.97, 45.30)
CIE-LCHlch(54.73, 54.32, 123.48°)
OKLaboklab(59.95% -0.0849 0.1033)
OKLCHoklch(59.95% 0.134 129.4)
XYZxyz(15.7950, 22.6665, 6.1271)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F2E #572E8F
analogous
#8F882E #668F2E #358F2E
triadic
#668F2E #2E668F #8F2E66
tetradic
#668F2E #2E8F88 #572E8F #8F2E35
square
#668F2E #2E8F88 #572E8F #8F2E35
split-complementary
#668F2E #2E358F #882E8F
monochromatic
#243210 #45611F #668F2E #87BD3D #A4CF69

Accessibility & contrast

On white

3.80
#668F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#668F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F2E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F2E#FFFFFF#000000##000000
##668F2E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f2e;
/* rgb */ color: rgb(102, 143, 46);
/* oklch */ color: oklch(60.0% 0.134 129.4);
Tailwind
colors: {
  custom: {
    50: '#95b06c',
    500: '#668f2e',
    950: '#000000',
  },
}
SCSS
$custom: #668f2e;
$custom-light: #95b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#668f2e",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 85.361,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.13368,
    "h": 129.4
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#668F2E
secondary
#8663B6
accent
#4DDB89
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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