#668F2F#668F2F

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

Color values

HEX#668F2F
RGBrgb(102, 143, 47)
HSLhsl(86, 51%, 37%)
HSVhsv(86, 67%, 56%)
CMYKcmyk(28.7%, 0%, 67.1%, 43.9%)
CIE-LABlab(54.74, -29.89, 44.88)
CIE-LCHlch(54.74, 53.92, 123.66°)
OKLaboklab(59.96% -0.0846 0.1025)
OKLCHoklch(59.96% 0.133 129.5)
XYZxyz(15.8150, 22.6745, 6.2322)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F2F #582F8F
analogous
#8F882F #668F2F #368F2F
triadic
#668F2F #2F668F #8F2F66
tetradic
#668F2F #2F8F88 #582F8F #8F2F36
square
#668F2F #2F8F88 #582F8F #8F2F36
split-complementary
#668F2F #2F368F #882F8F
monochromatic
#243311 #456120 #668F2F #87BD3E #A3CE6A

Accessibility & contrast

On white

3.79
#668F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F2F#FFFFFF#000000##000000
##668F2F1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668f2f;
/* rgb */ color: rgb(102, 143, 47);
/* oklch */ color: oklch(60.0% 0.133 129.5);
Tailwind
colors: {
  custom: {
    50: '#95b06d',
    500: '#668f2f',
    950: '#000000',
  },
}
SCSS
$custom: #668f2f;
$custom-light: #95b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#668f2f",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 85.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.1329,
    "h": 129.5
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#668F2F
secondary
#8765B5
accent
#4EDA8A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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