#668F34#668F34

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

Color values

HEX#668F34
RGBrgb(102, 143, 52)
HSLhsl(87, 47%, 38%)
HSVhsv(87, 64%, 56%)
CMYKcmyk(28.7%, 0%, 63.6%, 43.9%)
CIE-LABlab(54.78, -29.46, 42.71)
CIE-LCHlch(54.78, 51.88, 124.60°)
OKLaboklab(60.01% -0.0829 0.0986)
OKLCHoklch(60.01% 0.129 130.1)
XYZxyz(15.9217, 22.7172, 6.7941)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F34 #5D348F
analogous
#8F8A34 #668F34 #388F34
triadic
#668F34 #34668F #8F3466
tetradic
#668F34 #348F8A #5D348F #8F3438
square
#668F34 #348F8A #5D348F #8F3438
split-complementary
#668F34 #34388F #8A348F
monochromatic
#263513 #466224 #668F34 #86BB45 #A3CC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F34#FFFFFF#000000##000000
##668F341.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)
#958529
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#68897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f34;
/* rgb */ color: rgb(102, 143, 52);
/* oklch */ color: oklch(60.0% 0.129 130.1);
Tailwind
colors: {
  custom: {
    50: '#94b070',
    500: '#668f34',
    950: '#000000',
  },
}
SCSS
$custom: #668f34;
$custom-light: #94b070;
$custom-dark: #000000;
JSON
{
  "hex": "#668f34",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 87.033,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.12884,
    "h": 130.1
  },
  "luminance": 0.22718
}

Semantic roles & 50–950 ramp

primary
#668F34
secondary
#8C6BB4
accent
#51D68D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #668F34

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

Preview Lab → · Contrast checker → · Palette generator →

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