#668018#668018

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

Color values

HEX#668018
RGBrgb(102, 128, 24)
HSLhsl(75, 68%, 30%)
HSVhsv(75, 81%, 50%)
CMYKcmyk(20.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(49.89, -24.02, 48.84)
CIE-LCHlch(49.89, 54.43, 116.19°)
OKLaboklab(55.99% -0.0705 0.1072)
OKLCHoklch(55.99% 0.128 123.3)
XYZxyz(13.3637, 18.3290, 3.6978)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668018 #321880
analogous
#806618 #668018 #328018
triadic
#668018 #186680 #801866
tetradic
#668018 #188066 #321880 #801832
square
#668018 #188066 #321880 #801832
split-complementary
#668018 #183280 #661880
monochromatic
#151A05 #3D4C0E #668018 #8FB422 #B2DA39

Accessibility & contrast

On white

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

On black

4.67
#668018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668018
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668018#FFFFFF#000000##000000
##6680181.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668018;
/* rgb */ color: rgb(102, 128, 24);
/* oklch */ color: oklch(56.0% 0.128 123.3);
Tailwind
colors: {
  custom: {
    50: '#95a55f',
    500: '#668018',
    950: '#000000',
  },
}
SCSS
$custom: #668018;
$custom-light: #95a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#668018",
  "rgb": {
    "r": 102,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.12826,
    "h": 123.3
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#668018
secondary
#5D40B4
accent
#3DEB68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668018

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

Preview Lab → · Contrast checker → · Palette generator →

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