#668335#668335

#668335 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.111 H 126.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#668335
RGBrgb(102, 131, 53)
HSLhsl(82, 42%, 36%)
HSVhsv(82, 60%, 51%)
CMYKcmyk(22.1%, 0%, 59.5%, 48.6%)
CIE-LABlab(51.05, -23.47, 38.07)
CIE-LCHlch(51.05, 44.72, 121.66°)
OKLaboklab(57% -0.0663 0.0888)
OKLCHoklch(57% 0.111 126.7)
XYZxyz(14.2384, 19.3142, 6.3453)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668335 #523583
analogous
#837935 #668335 #3F8335
triadic
#668335 #356683 #833566
tetradic
#668335 #358379 #523583 #83353F
square
#668335 #358379 #523583 #83353F
split-complementary
#668335 #353F83 #793583
monochromatic
#222C12 #445723 #668335 #88AF47 #A4C46E

Accessibility & contrast

On white

4.32
#668335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#668335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668335
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668335#FFFFFF#000000##000000
##6683351.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2D
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#6A7D72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668335;
/* rgb */ color: rgb(102, 131, 53);
/* oklch */ color: oklch(57.0% 0.111 126.7);
Tailwind
colors: {
  custom: {
    50: '#94a76f',
    500: '#668335',
    950: '#000000',
  },
}
SCSS
$custom: #668335;
$custom-light: #94a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#668335",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 82.308,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.11084,
    "h": 126.7
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#668335
secondary
#8167AD
accent
#56D284
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668335

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

Preview Lab → · Contrast checker → · Palette generator →

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