#668F2A#668F2A

#668F2A is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.137 H 129.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#668F2A
RGBrgb(102, 143, 42)
HSLhsl(84, 55%, 36%)
HSVhsv(84, 71%, 56%)
CMYKcmyk(28.7%, 0%, 70.6%, 43.9%)
CIE-LABlab(54.70, -30.27, 46.94)
CIE-LCHlch(54.70, 55.85, 122.82°)
OKLaboklab(59.92% -0.086 0.1061)
OKLCHoklch(59.92% 0.137 129)
XYZxyz(15.7198, 22.6365, 5.7311)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F2A #532A8F
analogous
#8F862A #668F2A #348F2A
triadic
#668F2A #2A668F #8F2A66
tetradic
#668F2A #2A8F86 #532A8F #8F2A34
square
#668F2A #2A8F86 #532A8F #8F2A34
split-complementary
#668F2A #2A348F #862A8F
monochromatic
#23300E #44601C #668F2A #88BE38 #A4D162

Accessibility & contrast

On white

3.80
#668F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#668F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F2A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F2A#FFFFFF#000000##000000
##668F2A1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f2a;
/* rgb */ color: rgb(102, 143, 42);
/* oklch */ color: oklch(59.9% 0.137 129.0);
Tailwind
colors: {
  custom: {
    50: '#95b06a',
    500: '#668f2a',
    950: '#000000',
  },
}
SCSS
$custom: #668f2a;
$custom-light: #95b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#668f2a",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 84.356,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.13663,
    "h": 129
  },
  "luminance": 0.22637
}

Semantic roles & 50–950 ramp

primary
#668F2A
secondary
#825EB7
accent
#4ADE86
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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