#668122#668122

#668122 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.124 H 124.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#668122
RGBrgb(102, 129, 34)
HSLhsl(77, 58%, 32%)
HSVhsv(77, 74%, 51%)
CMYKcmyk(20.9%, 0%, 73.6%, 49.4%)
CIE-LABlab(50.26, -23.98, 45.65)
CIE-LCHlch(50.26, 51.57, 117.72°)
OKLaboklab(56.31% -0.0695 0.1022)
OKLCHoklch(56.31% 0.124 124.2)
XYZxyz(13.6186, 18.6407, 4.3936)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668122 #3D2281
analogous
#816D22 #668122 #368122
triadic
#668122 #226681 #812266
tetradic
#668122 #22816D #3D2281 #812236
square
#668122 #22816D #3D2281 #812236
split-complementary
#668122 #223681 #6D2281
monochromatic
#192008 #405115 #668122 #8CB12F #ABD04D

Accessibility & contrast

On white

4.44
#668122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#668122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668122
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668122#FFFFFF#000000##000000
##6681221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#6B7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668122;
/* rgb */ color: rgb(102, 129, 34);
/* oklch */ color: oklch(56.3% 0.124 124.2);
Tailwind
colors: {
  custom: {
    50: '#95a564',
    500: '#668122',
    950: '#000000',
  },
}
SCSS
$custom: #668122;
$custom-light: #95a564;
$custom-dark: #000000;
JSON
{
  "hex": "#668122",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 77.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.12359,
    "h": 124.2
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#668122
secondary
#694BB3
accent
#46E172
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #668122

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

Preview Lab → · Contrast checker → · Palette generator →

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