#668A2D#668A2D

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

Color values

HEX#668A2D
RGBrgb(102, 138, 45)
HSLhsl(83, 51%, 36%)
HSVhsv(83, 67%, 54%)
CMYKcmyk(26.1%, 0%, 67.4%, 45.9%)
CIE-LABlab(53.16, -27.64, 44.07)
CIE-LCHlch(53.16, 52.02, 122.10°)
OKLaboklab(58.68% -0.0786 0.1006)
OKLCHoklch(58.68% 0.128 128)
XYZxyz(15.0416, 21.1909, 5.7799)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A2D #512D8A
analogous
#8A7F2D #668A2D #378A2D
triadic
#668A2D #2D668A #8A2D66
tetradic
#668A2D #2D8A7F #512D8A #8A2D37
square
#668A2D #2D8A7F #512D8A #8A2D37
split-complementary
#668A2D #2D378A #7F2D8A
monochromatic
#222E0F #445C1E #668A2D #88B83C #A4CD65

Accessibility & contrast

On white

4.01
#668A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#668A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A2D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A2D#FFFFFF#000000##000000
##668A2D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668a2d;
/* rgb */ color: rgb(102, 138, 45);
/* oklch */ color: oklch(58.7% 0.128 128.0);
Tailwind
colors: {
  custom: {
    50: '#94ac6b',
    500: '#668a2d',
    950: '#000000',
  },
}
SCSS
$custom: #668a2d;
$custom-light: #94ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#668a2d",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 83.226,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.12761,
    "h": 128
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#668A2D
secondary
#8060B3
accent
#4DDA84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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