#668A22#668A22

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

Color values

HEX#668A22
RGBrgb(102, 138, 34)
HSLhsl(81, 60%, 34%)
HSVhsv(81, 75%, 54%)
CMYKcmyk(26.1%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.08, -28.41, 48.42)
CIE-LCHlch(53.08, 56.13, 120.40°)
OKLaboklab(58.59% -0.0817 0.108)
OKLCHoklch(58.59% 0.135 127.1)
XYZxyz(14.8567, 21.1169, 4.8063)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A22 #46228A
analogous
#8A7A22 #668A22 #328A22
triadic
#668A22 #22668A #8A2266
tetradic
#668A22 #228A7A #46228A #8A2232
square
#668A22 #228A7A #46228A #8A2232
split-complementary
#668A22 #22328A #7A228A
monochromatic
#1D280A #425916 #668A22 #8ABB2E #A7D452

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A22#FFFFFF#000000##000000
##668A221.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)
#91800D
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a22;
/* rgb */ color: rgb(102, 138, 34);
/* oklch */ color: oklch(58.6% 0.135 127.1);
Tailwind
colors: {
  custom: {
    50: '#95ac65',
    500: '#668a22',
    950: '#000000',
  },
}
SCSS
$custom: #668a22;
$custom-light: #95ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#668a22",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 80.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.13537,
    "h": 127.1
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#668A22
secondary
#7450B8
accent
#44E47B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A22

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

Preview Lab → · Contrast checker → · Palette generator →

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