#668A32#668A32

#668A32 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.124 H 128.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#668A32
RGBrgb(102, 138, 50)
HSLhsl(85, 47%, 37%)
HSVhsv(85, 64%, 54%)
CMYKcmyk(26.1%, 0%, 63.8%, 45.9%)
CIE-LABlab(53.20, -27.22, 41.89)
CIE-LCHlch(53.20, 49.96, 123.02°)
OKLaboklab(58.73% -0.077 0.0966)
OKLCHoklch(58.73% 0.124 128.5)
XYZxyz(15.1436, 21.2317, 6.3173)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A32 #56328A
analogous
#8A8232 #668A32 #3A8A32
triadic
#668A32 #32668A #8A3266
tetradic
#668A32 #328A82 #56328A #8A323A
square
#668A32 #328A82 #56328A #8A323A
split-complementary
#668A32 #323A8A #82328A
monochromatic
#243011 #455D22 #668A32 #87B742 #A4CA6C

Accessibility & contrast

On white

4.00
#668A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#668A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A32
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A32#FFFFFF#000000##000000
##668A321.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918128
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#698477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a32;
/* rgb */ color: rgb(102, 138, 50);
/* oklch */ color: oklch(58.7% 0.124 128.5);
Tailwind
colors: {
  custom: {
    50: '#94ac6e',
    500: '#668a32',
    950: '#000000',
  },
}
SCSS
$custom: #668a32;
$custom-light: #94ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#668a32",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 84.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.12352,
    "h": 128.5
  },
  "luminance": 0.21232
}

Semantic roles & 50–950 ramp

primary
#668A32
secondary
#8566B2
accent
#51D688
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A32

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

Preview Lab → · Contrast checker → · Palette generator →

#668A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva