#668115#668115

#668115 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.131 H 123.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#668115
RGBrgb(102, 129, 21)
HSLhsl(75, 72%, 29%)
HSVhsv(75, 84%, 51%)
CMYKcmyk(20.9%, 0%, 83.7%, 49.4%)
CIE-LABlab(50.19, -24.65, 50.01)
CIE-LCHlch(50.19, 55.76, 116.24°)
OKLaboklab(56.23% -0.0724 0.1091)
OKLCHoklch(56.23% 0.131 123.6)
XYZxyz(13.4653, 18.5793, 3.5861)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668115 #301581
analogous
#816615 #668115 #308115
triadic
#668115 #156681 #811566
tetradic
#668115 #158166 #301581 #811530
square
#668115 #158166 #301581 #811530
split-complementary
#668115 #153081 #661581
monochromatic
#151A04 #3C4C0C #668115 #90B61E #B3DE33

Accessibility & contrast

On white

4.45
#668115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#668115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668115
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668115#FFFFFF#000000##000000
##6681151.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#6C7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668115;
/* rgb */ color: rgb(102, 129, 21);
/* oklch */ color: oklch(56.2% 0.131 123.6);
Tailwind
colors: {
  custom: {
    50: '#95a55e',
    500: '#668115',
    950: '#000000',
  },
}
SCSS
$custom: #668115;
$custom-light: #95a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#668115",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 75,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.13098,
    "h": 123.6
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#668115
secondary
#5A3CB6
accent
#39EF66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668115

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

Preview Lab → · Contrast checker → · Palette generator →

#668115 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva