#668722#668722

#668722 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.131 H 126.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#668722
RGBrgb(102, 135, 34)
HSLhsl(80, 60%, 33%)
HSVhsv(80, 75%, 53%)
CMYKcmyk(24.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.14, -26.95, 47.50)
CIE-LCHlch(52.14, 54.61, 119.57°)
OKLaboklab(57.83% -0.0777 0.1061)
OKLCHoklch(57.83% 0.131 126.2)
XYZxyz(14.4323, 20.2680, 4.6648)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668722 #432287
analogous
#877522 #668722 #338722
triadic
#668722 #226687 #872266
tetradic
#668722 #228775 #432287 #872233
square
#668722 #228775 #432287 #872233
split-complementary
#668722 #223387 #752287
monochromatic
#1C2509 #415616 #668722 #8BB82E #A8D350

Accessibility & contrast

On white

4.16
#668722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#668722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668722
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668722#FFFFFF#000000##000000
##6687221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#6A8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #668722;
/* rgb */ color: rgb(102, 135, 34);
/* oklch */ color: oklch(57.8% 0.131 126.2);
Tailwind
colors: {
  custom: {
    50: '#95aa65',
    500: '#668722',
    950: '#000000',
  },
}
SCSS
$custom: #668722;
$custom-light: #95aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#668722",
  "rgb": {
    "r": 102,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 79.604,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.13146,
    "h": 126.2
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#668722
secondary
#704EB7
accent
#45E379
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668722

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

Preview Lab → · Contrast checker → · Palette generator →

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