#668A2E#668A2E

#668A2E is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.127 H 128.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#668A2E
RGBrgb(102, 138, 46)
HSLhsl(83, 50%, 36%)
HSVhsv(83, 67%, 54%)
CMYKcmyk(26.1%, 0%, 66.7%, 45.9%)
CIE-LABlab(53.17, -27.56, 43.64)
CIE-LCHlch(53.17, 51.62, 122.27°)
OKLaboklab(58.69% -0.0783 0.0998)
OKLCHoklch(58.69% 0.127 128.1)
XYZxyz(15.0611, 21.1987, 5.8825)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A2E #522E8A
analogous
#8A802E #668A2E #388A2E
triadic
#668A2E #2E668A #8A2E66
tetradic
#668A2E #2E8A80 #522E8A #8A2E38
square
#668A2E #2E8A80 #522E8A #8A2E38
split-complementary
#668A2E #2E388A #802E8A
monochromatic
#222E0F #445C1F #668A2E #88B83D #A4CC66

Accessibility & contrast

On white

4.01
#668A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#668A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A2E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A2E#FFFFFF#000000##000000
##668A2E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#698477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a2e;
/* rgb */ color: rgb(102, 138, 46);
/* oklch */ color: oklch(58.7% 0.127 128.1);
Tailwind
colors: {
  custom: {
    50: '#94ac6b',
    500: '#668a2e',
    950: '#000000',
  },
}
SCSS
$custom: #668a2e;
$custom-light: #94ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668a2e",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 83.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.12682,
    "h": 128.1
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#668A2E
secondary
#8161B3
accent
#4EDA85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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