#668418#668418

#668418 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.133 H 124.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#668418
RGBrgb(102, 132, 24)
HSLhsl(77, 69%, 31%)
HSVhsv(77, 82%, 52%)
CMYKcmyk(22.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.14, -26.01, 49.98)
CIE-LCHlch(51.14, 56.34, 117.50°)
OKLaboklab(57% -0.0759 0.1096)
OKLCHoklch(57% 0.133 124.7)
XYZxyz(13.8958, 19.3931, 3.8751)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668418 #361884
analogous
#846C18 #668418 #308418
triadic
#668418 #186684 #841866
tetradic
#668418 #18846C #361884 #841830
square
#668418 #18846C #361884 #841830
split-complementary
#668418 #183084 #6C1884
monochromatic
#161C05 #3E500F #668418 #8EB821 #AFDB3B

Accessibility & contrast

On white

4.30
#668418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#668418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668418
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668418#FFFFFF#000000##000000
##6684181.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#6B7D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668418;
/* rgb */ color: rgb(102, 132, 24);
/* oklch */ color: oklch(57.0% 0.133 124.7);
Tailwind
colors: {
  custom: {
    50: '#95a860',
    500: '#668418',
    950: '#000000',
  },
}
SCSS
$custom: #668418;
$custom-light: #95a860;
$custom-dark: #000000;
JSON
{
  "hex": "#668418",
  "rgb": {
    "r": 102,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 76.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.13329,
    "h": 124.7
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#668418
secondary
#6140B8
accent
#3CEC6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668418

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

Preview Lab → · Contrast checker → · Palette generator →

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