#668617#668617

#668617 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.5% C 0.136 H 125.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#668617
RGBrgb(102, 134, 23)
HSLhsl(77, 71%, 31%)
HSVhsv(77, 83%, 53%)
CMYKcmyk(23.9%, 0%, 82.8%, 47.5%)
CIE-LABlab(51.77, -27.04, 50.84)
CIE-LCHlch(51.77, 57.58, 118.00°)
OKLaboklab(57.5% -0.0788 0.1112)
OKLCHoklch(57.5% 0.136 125.3)
XYZxyz(14.1594, 19.9366, 3.9126)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668617 #371786
analogous
#866E17 #668617 #2E8617
triadic
#668617 #176686 #861766
tetradic
#668617 #17866E #371786 #86172E
square
#668617 #17866E #371786 #86172E
split-complementary
#668617 #172E86 #6E1786
monochromatic
#161E05 #3E520E #668617 #8EBA20 #AEDD3A

Accessibility & contrast

On white

4.21
#668617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#668617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668617
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668617#FFFFFF#000000##000000
##6686171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#6B7F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #668617;
/* rgb */ color: rgb(102, 134, 23);
/* oklch */ color: oklch(57.5% 0.136 125.3);
Tailwind
colors: {
  custom: {
    50: '#95a95f',
    500: '#668617',
    950: '#000000',
  },
}
SCSS
$custom: #668617;
$custom-light: #95a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#668617",
  "rgb": {
    "r": 102,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 77.297,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.13628,
    "h": 125.3
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#668617
secondary
#623FBA
accent
#3AED6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #668617

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

Preview Lab → · Contrast checker → · Palette generator →

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