#668218#668218

#668218 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.131 H 124.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#668218
RGBrgb(102, 130, 24)
HSLhsl(76, 69%, 30%)
HSVhsv(76, 82%, 51%)
CMYKcmyk(21.5%, 0%, 81.5%, 49%)
CIE-LABlab(50.52, -25.02, 49.41)
CIE-LCHlch(50.52, 55.39, 116.86°)
OKLaboklab(56.5% -0.0732 0.1084)
OKLCHoklch(56.5% 0.131 124)
XYZxyz(13.6271, 18.8559, 3.7856)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668218 #341882
analogous
#826918 #668218 #318218
triadic
#668218 #186682 #821866
tetradic
#668218 #188269 #341882 #821831
square
#668218 #188269 #341882 #821831
split-complementary
#668218 #183182 #691882
monochromatic
#151B05 #3D4E0E #668218 #8FB622 #B0DB3A

Accessibility & contrast

On white

4.40
#668218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#668218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668218
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668218#FFFFFF#000000##000000
##6682181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668218;
/* rgb */ color: rgb(102, 130, 24);
/* oklch */ color: oklch(56.5% 0.131 124.0);
Tailwind
colors: {
  custom: {
    50: '#95a65f',
    500: '#668218',
    950: '#000000',
  },
}
SCSS
$custom: #668218;
$custom-light: #95a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#668218",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 75.849,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.13078,
    "h": 124
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#668218
secondary
#5F40B6
accent
#3CEC6B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668218

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

Preview Lab → · Contrast checker → · Palette generator →

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