#668F1A#668F1A

#668F1A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.146 H 127.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668F1A
RGBrgb(102, 143, 26)
HSLhsl(81, 69%, 33%)
HSVhsv(81, 82%, 56%)
CMYKcmyk(28.7%, 0%, 81.8%, 43.9%)
CIE-LABlab(54.60, -31.20, 52.51)
CIE-LCHlch(54.60, 61.08, 120.72°)
OKLaboklab(59.81% -0.0899 0.1153)
OKLCHoklch(59.81% 0.146 127.9)
XYZxyz(15.4884, 22.5439, 4.5125)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F1A #431A8F
analogous
#8F7D1A #668F1A #2B8F1A
triadic
#668F1A #1A668F #8F1A66
tetradic
#668F1A #1A8F7D #431A8F #8F1A2B
square
#668F1A #1A8F7D #431A8F #8F1A2B
split-complementary
#668F1A #1A2B8F #7D1A8F
monochromatic
#1C2707 #415B11 #668F1A #8BC323 #A8DD46

Accessibility & contrast

On white

3.81
#668F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F1A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F1A#FFFFFF#000000##000000
##668F1A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f1a;
/* rgb */ color: rgb(102, 143, 26);
/* oklch */ color: oklch(59.8% 0.146 127.9);
Tailwind
colors: {
  custom: {
    50: '#96b062',
    500: '#668f1a',
    950: '#000000',
  },
}
SCSS
$custom: #668f1a;
$custom-light: #96b062;
$custom-dark: #000000;
JSON
{
  "hex": "#668f1a",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 81.026,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.14616,
    "h": 127.9
  },
  "luminance": 0.22544
}

Semantic roles & 50–950 ramp

primary
#668F1A
secondary
#7046BF
accent
#3CEC7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F1A

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

Preview Lab → · Contrast checker → · Palette generator →

#668F1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva