#668117#668117

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

Color values

HEX#668117
RGBrgb(102, 129, 23)
HSLhsl(75, 70%, 30%)
HSVhsv(75, 82%, 51%)
CMYKcmyk(20.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.20, -24.57, 49.43)
CIE-LCHlch(50.20, 55.20, 116.43°)
OKLaboklab(56.24% -0.0721 0.1082)
OKLCHoklch(56.24% 0.13 123.7)
XYZxyz(13.4846, 18.5871, 3.6877)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668117 #321781
analogous
#816717 #668117 #318117
triadic
#668117 #176681 #811766
tetradic
#668117 #178167 #321781 #811731
square
#668117 #178167 #321781 #811731
split-complementary
#668117 #173181 #671781
monochromatic
#151A05 #3D4D0E #668117 #8FB520 #B2DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668117#FFFFFF#000000##000000
##6681171.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)
#857722
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668117;
/* rgb */ color: rgb(102, 129, 23);
/* oklch */ color: oklch(56.2% 0.130 123.7);
Tailwind
colors: {
  custom: {
    50: '#95a55f',
    500: '#668117',
    950: '#000000',
  },
}
SCSS
$custom: #668117;
$custom-light: #95a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#668117",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 75.283,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.13002,
    "h": 123.7
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#668117
secondary
#5D3EB5
accent
#3BED68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668117

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

Preview Lab → · Contrast checker → · Palette generator →

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