#668642#668642

#668642 is a mid, moderate yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.102 H 129.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#668642
RGBrgb(102, 134, 66)
HSLhsl(88, 34%, 39%)
HSVhsv(88, 51%, 53%)
CMYKcmyk(23.9%, 0%, 50.7%, 47.5%)
CIE-LABlab(52.14, -23.57, 32.76)
CIE-LCHlch(52.14, 40.36, 125.74°)
OKLaboklab(57.93% -0.0655 0.0785)
OKLCHoklch(57.93% 0.102 129.8)
XYZxyz(14.9878, 20.2680, 8.2757)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668642 #624286
analogous
#868442 #668642 #448642
triadic
#668642 #426686 #864266
tetradic
#668642 #428684 #624286 #864244
square
#668642 #428684 #624286 #864244
split-complementary
#668642 #424486 #844286
monochromatic
#28341A #475D2E #668642 #85AD58 #A3C181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668642#FFFFFF#000000##000000
##6686421.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)
#8B7E3C
Deuteranopia (green-blind)
#877C46
Tritanopia (blue-blind)
#688176
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #668642;
/* rgb */ color: rgb(102, 134, 66);
/* oklch */ color: oklch(57.9% 0.102 129.8);
Tailwind
colors: {
  custom: {
    50: '#93a978',
    500: '#668642',
    950: '#000000',
  },
}
SCSS
$custom: #668642;
$custom-light: #93a978;
$custom-dark: #000000;
JSON
{
  "hex": "#668642",
  "rgb": {
    "r": 102,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 88.235,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.1022,
    "h": 129.8
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#668642
secondary
#9078AC
accent
#5ECA91
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #668642

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

Preview Lab → · Contrast checker → · Palette generator →

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