#668337#668337

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

Color values

HEX#668337
RGBrgb(102, 131, 55)
HSLhsl(83, 41%, 36%)
HSVhsv(83, 58%, 51%)
CMYKcmyk(22.1%, 0%, 58%, 48.6%)
CIE-LABlab(51.07, -23.27, 37.11)
CIE-LCHlch(51.07, 43.81, 122.09°)
OKLaboklab(57.02% -0.0656 0.087)
OKLCHoklch(57.02% 0.109 127)
XYZxyz(14.2853, 19.3330, 6.5927)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668337 #543783
analogous
#837A37 #668337 #408337
triadic
#668337 #376683 #833766
tetradic
#668337 #37837A #543783 #833740
square
#668337 #37837A #543783 #833740
split-complementary
#668337 #374083 #7A3783
monochromatic
#232D13 #445825 #668337 #88AE49 #A4C371

Accessibility & contrast

On white

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

On black

4.87
#668337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668337
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668337#FFFFFF#000000##000000
##6683371.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2F
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#697D72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #668337;
/* rgb */ color: rgb(102, 131, 55);
/* oklch */ color: oklch(57.0% 0.109 127.0);
Tailwind
colors: {
  custom: {
    50: '#94a770',
    500: '#668337',
    950: '#000000',
  },
}
SCSS
$custom: #668337;
$custom-light: #94a770;
$custom-dark: #000000;
JSON
{
  "hex": "#668337",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 82.895,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.10893,
    "h": 127
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#668337
secondary
#836AAC
accent
#57D185
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #668337

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

Preview Lab → · Contrast checker → · Palette generator →

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