#668015#668015

#668015 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.0% C 0.130 H 123.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#668015
RGBrgb(102, 128, 21)
HSLhsl(75, 72%, 29%)
HSVhsv(75, 84%, 50%)
CMYKcmyk(20.3%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.88, -24.16, 49.74)
CIE-LCHlch(49.88, 55.29, 115.90°)
OKLaboklab(55.97% -0.0711 0.1085)
OKLCHoklch(55.97% 0.13 123.2)
XYZxyz(13.3342, 18.3172, 3.5424)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668015 #2F1580
analogous
#806515 #668015 #318015
triadic
#668015 #156680 #801566
tetradic
#668015 #158065 #2F1580 #801531
square
#668015 #158065 #2F1580 #801531
split-complementary
#668015 #153180 #651580
monochromatic
#151A04 #3C4B0C #668015 #90B51E #B4DD32

Accessibility & contrast

On white

4.50
#668015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#668015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668015
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668015#FFFFFF#000000##000000
##6680151.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#857621
Tritanopia (blue-blind)
#6C796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668015;
/* rgb */ color: rgb(102, 128, 21);
/* oklch */ color: oklch(56.0% 0.130 123.2);
Tailwind
colors: {
  custom: {
    50: '#95a55e',
    500: '#668015',
    950: '#000000',
  },
}
SCSS
$custom: #668015;
$custom-light: #95a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#668015",
  "rgb": {
    "r": 102,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 74.579,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.12973,
    "h": 123.2
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#668015
secondary
#593CB5
accent
#39EF65
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668015

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

Preview Lab → · Contrast checker → · Palette generator →

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