#668F33#668F33

#668F33 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.130 H 130.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#668F33
RGBrgb(102, 143, 51)
HSLhsl(87, 47%, 38%)
HSVhsv(87, 64%, 56%)
CMYKcmyk(28.7%, 0%, 64.3%, 43.9%)
CIE-LABlab(54.77, -29.55, 43.15)
CIE-LCHlch(54.77, 52.30, 124.40°)
OKLaboklab(60% -0.0833 0.0994)
OKLCHoklch(60% 0.13 130)
XYZxyz(15.8994, 22.7083, 6.6768)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F33 #5C338F
analogous
#8F8A33 #668F33 #388F33
triadic
#668F33 #33668F #8F3366
tetradic
#668F33 #338F8A #5C338F #8F3338
square
#668F33 #338F8A #5C338F #8F3338
split-complementary
#668F33 #33388F #8A338F
monochromatic
#263513 #466223 #668F33 #86BC43 #A3CC70

Accessibility & contrast

On white

3.79
#668F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#668F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F33
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F33#FFFFFF#000000##000000
##668F331.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958528
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#68897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f33;
/* rgb */ color: rgb(102, 143, 51);
/* oklch */ color: oklch(60.0% 0.130 130.0);
Tailwind
colors: {
  custom: {
    50: '#95b06f',
    500: '#668f33',
    950: '#000000',
  },
}
SCSS
$custom: #668f33;
$custom-light: #95b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#668f33",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 86.739,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.12968,
    "h": 130
  },
  "luminance": 0.22709
}

Semantic roles & 50–950 ramp

primary
#668F33
secondary
#8B6AB4
accent
#51D78D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668F33

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

Preview Lab → · Contrast checker → · Palette generator →

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