#668233#668233

#668233 is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.111 H 126.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#668233
RGBrgb(102, 130, 51)
HSLhsl(81, 44%, 35%)
HSVhsv(81, 61%, 51%)
CMYKcmyk(21.5%, 0%, 60.8%, 49%)
CIE-LABlab(50.72, -23.16, 38.66)
CIE-LCHlch(50.72, 45.07, 120.92°)
OKLaboklab(56.72% -0.0656 0.0899)
OKLCHoklch(56.72% 0.111 126.1)
XYZxyz(14.0597, 19.0289, 6.0635)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668233 #4F3382
analogous
#827633 #668233 #3E8233
triadic
#668233 #336682 #823366
tetradic
#668233 #338276 #4F3382 #82333E
square
#668233 #338276 #4F3382 #82333E
split-complementary
#668233 #333E82 #763382
monochromatic
#212A11 #445622 #668233 #88AE44 #A5C56B

Accessibility & contrast

On white

4.37
#668233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#668233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668233
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668233#FFFFFF#000000##000000
##6682331.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2A
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#6A7C71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668233;
/* rgb */ color: rgb(102, 130, 51);
/* oklch */ color: oklch(56.7% 0.111 126.1);
Tailwind
colors: {
  custom: {
    50: '#94a66e',
    500: '#668233',
    950: '#000000',
  },
}
SCSS
$custom: #668233;
$custom-light: #94a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#668233",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 81.266,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.11127,
    "h": 126.1
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#668233
secondary
#7E64AD
accent
#54D381
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668233

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

Preview Lab → · Contrast checker → · Palette generator →

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