#668118#668118

#668118 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#668118
RGBrgb(102, 129, 24)
HSLhsl(75, 69%, 30%)
HSVhsv(75, 81%, 51%)
CMYKcmyk(20.9%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.21, -24.52, 49.13)
CIE-LCHlch(50.21, 54.91, 116.53°)
OKLaboklab(56.24% -0.0719 0.1078)
OKLCHoklch(56.24% 0.13 123.7)
XYZxyz(13.4948, 18.5911, 3.7415)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668118 #331881
analogous
#816818 #668118 #318118
triadic
#668118 #186681 #811866
tetradic
#668118 #188168 #331881 #811831
square
#668118 #188168 #331881 #811831
split-complementary
#668118 #183181 #681881
monochromatic
#141A05 #3D4D0E #668118 #8FB522 #B1DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #668118;
/* rgb */ color: rgb(102, 129, 24);
/* oklch */ color: oklch(56.2% 0.130 123.7);
Tailwind
colors: {
  custom: {
    50: '#95a55f',
    500: '#668118',
    950: '#000000',
  },
}
SCSS
$custom: #668118;
$custom-light: #95a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#668118",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 75.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.12952,
    "h": 123.7
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#668118
secondary
#5E40B5
accent
#3CEB69
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668118

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

Preview Lab → · Contrast checker → · Palette generator →

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