#668518#668518

#668518 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.135 H 125.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#668518
RGBrgb(102, 133, 24)
HSLhsl(77, 69%, 31%)
HSVhsv(77, 82%, 52%)
CMYKcmyk(23.3%, 0%, 82%, 47.8%)
CIE-LABlab(51.46, -26.50, 50.26)
CIE-LCHlch(51.46, 56.82, 117.80°)
OKLaboklab(57.26% -0.0772 0.1102)
OKLCHoklch(57.26% 0.135 125)
XYZxyz(14.0320, 19.6656, 3.9206)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668518 #371885
analogous
#856D18 #668518 #2F8518
triadic
#668518 #186685 #851866
tetradic
#668518 #18856D #371885 #85182F
square
#668518 #18856D #371885 #85182F
split-complementary
#668518 #182F85 #6D1885
monochromatic
#161D05 #3E510F #668518 #8EB921 #AEDC3C

Accessibility & contrast

On white

4.26
#668518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#668518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668518
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668518#FFFFFF#000000##000000
##6685181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#6B7E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #668518;
/* rgb */ color: rgb(102, 133, 24);
/* oklch */ color: oklch(57.3% 0.135 125.0);
Tailwind
colors: {
  custom: {
    50: '#95a860',
    500: '#668518',
    950: '#000000',
  },
}
SCSS
$custom: #668518;
$custom-light: #95a860;
$custom-dark: #000000;
JSON
{
  "hex": "#668518",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 77.064,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.13455,
    "h": 125
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#668518
secondary
#6240B9
accent
#3CEC6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668518

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

Preview Lab → · Contrast checker → · Palette generator →

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