#668223#668223

#668223 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.124 H 124.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#668223
RGBrgb(102, 130, 35)
HSLhsl(78, 58%, 32%)
HSVhsv(78, 73%, 51%)
CMYKcmyk(21.5%, 0%, 73.1%, 49%)
CIE-LABlab(50.58, -24.42, 45.57)
CIE-LCHlch(50.58, 51.71, 118.18°)
OKLaboklab(56.57% -0.0706 0.1022)
OKLCHoklch(56.57% 0.124 124.7)
XYZxyz(13.7656, 18.9113, 4.5148)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668223 #3F2382
analogous
#826E23 #668223 #378223
triadic
#668223 #236682 #822366
tetradic
#668223 #23826E #3F2382 #822337
square
#668223 #23826E #3F2382 #822337
split-complementary
#668223 #233782 #6E2382
monochromatic
#1A2209 #405216 #668223 #8CB230 #AAD050

Accessibility & contrast

On white

4.39
#668223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#668223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668223
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668223#FFFFFF#000000##000000
##6682231.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#6B7C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668223;
/* rgb */ color: rgb(102, 130, 35);
/* oklch */ color: oklch(56.6% 0.124 124.7);
Tailwind
colors: {
  custom: {
    50: '#95a665',
    500: '#668223',
    950: '#000000',
  },
}
SCSS
$custom: #668223;
$custom-light: #95a665;
$custom-dark: #000000;
JSON
{
  "hex": "#668223",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 77.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.12423,
    "h": 124.7
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#668223
secondary
#6B4DB3
accent
#47E174
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #668223

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

Preview Lab → · Contrast checker → · Palette generator →

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