#668F27#668F27

#668F27 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.139 H 128.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#668F27
RGBrgb(102, 143, 39)
HSLhsl(84, 57%, 36%)
HSVhsv(84, 73%, 56%)
CMYKcmyk(28.7%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.67, -30.48, 48.11)
CIE-LCHlch(54.67, 56.95, 122.36°)
OKLaboklab(59.89% -0.0869 0.1081)
OKLCHoklch(59.89% 0.139 128.8)
XYZxyz(15.6681, 22.6158, 5.4589)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F27 #50278F
analogous
#8F8427 #668F27 #328F27
triadic
#668F27 #27668F #8F2766
tetradic
#668F27 #278F84 #50278F #8F2732
square
#668F27 #278F84 #50278F #8F2732
split-complementary
#668F27 #27328F #84278F
monochromatic
#212F0D #445F1A #668F27 #88BF34 #A5D35D

Accessibility & contrast

On white

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

On black

5.52
#668F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F27
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F27#FFFFFF#000000##000000
##668F271.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668f27;
/* rgb */ color: rgb(102, 143, 39);
/* oklch */ color: oklch(59.9% 0.139 128.8);
Tailwind
colors: {
  custom: {
    50: '#95b068',
    500: '#668f27',
    950: '#000000',
  },
}
SCSS
$custom: #668f27;
$custom-light: #95b068;
$custom-dark: #000000;
JSON
{
  "hex": "#668f27",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 83.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.1387,
    "h": 128.8
  },
  "luminance": 0.22616
}

Semantic roles & 50–950 ramp

primary
#668F27
secondary
#7F5AB8
accent
#47E084
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F27

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

Preview Lab → · Contrast checker → · Palette generator →

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