#668A34#668A34

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

Color values

HEX#668A34
RGBrgb(102, 138, 52)
HSLhsl(85, 45%, 37%)
HSVhsv(85, 62%, 54%)
CMYKcmyk(26.1%, 0%, 62.3%, 45.9%)
CIE-LABlab(53.22, -27.04, 40.98)
CIE-LCHlch(53.22, 49.10, 123.42°)
OKLaboklab(58.75% -0.0763 0.0949)
OKLCHoklch(58.75% 0.122 128.8)
XYZxyz(15.1877, 21.2493, 6.5495)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A34 #58348A
analogous
#8A8334 #668A34 #3B8A34
triadic
#668A34 #34668A #8A3466
tetradic
#668A34 #348A83 #58348A #8A343B
square
#668A34 #348A83 #58348A #8A343B
split-complementary
#668A34 #343B8A #83348A
monochromatic
#243113 #455E23 #668A34 #87B645 #A3C96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A34#FFFFFF#000000##000000
##668A341.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)
#90812A
Deuteranopia (green-blind)
#8B7E3A
Tritanopia (blue-blind)
#698478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a34;
/* rgb */ color: rgb(102, 138, 52);
/* oklch */ color: oklch(58.8% 0.122 128.8);
Tailwind
colors: {
  custom: {
    50: '#94ac6f',
    500: '#668a34',
    950: '#000000',
  },
}
SCSS
$custom: #668a34;
$custom-light: #94ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#668a34",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 85.116,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.12179,
    "h": 128.8
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#668A34
secondary
#8769B1
accent
#53D589
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A34

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

Preview Lab → · Contrast checker → · Palette generator →

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