#668A1E#668A1E

#668A1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.138 H 126.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#668A1E
RGBrgb(102, 138, 30)
HSLhsl(80, 64%, 33%)
HSVhsv(80, 78%, 54%)
CMYKcmyk(26.1%, 0%, 78.3%, 45.9%)
CIE-LABlab(53.05, -28.63, 49.81)
CIE-LCHlch(53.05, 57.45, 119.90°)
OKLaboklab(58.56% -0.0826 0.1102)
OKLCHoklch(58.56% 0.138 126.8)
XYZxyz(14.8024, 21.0952, 4.5200)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A1E #421E8A
analogous
#8A781E #668A1E #308A1E
triadic
#668A1E #1E668A #8A1E66
tetradic
#668A1E #1E8A78 #421E8A #8A1E30
square
#668A1E #1E8A78 #421E8A #8A1E30
split-complementary
#668A1E #1E308A #781E8A
monochromatic
#1C2508 #415813 #668A1E #8BBC29 #A9D84B

Accessibility & contrast

On white

4.02
#668A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#668A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A1E#FFFFFF#000000##000000
##668A1E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a1e;
/* rgb */ color: rgb(102, 138, 30);
/* oklch */ color: oklch(58.6% 0.138 126.8);
Tailwind
colors: {
  custom: {
    50: '#95ac63',
    500: '#668a1e',
    950: '#000000',
  },
}
SCSS
$custom: #668a1e;
$custom-light: #95ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#668a1e",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.13774,
    "h": 126.8
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#668A1E
secondary
#6F4ABA
accent
#41E778
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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