#668A2B#668A2B

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

Color values

HEX#668A2B
RGBrgb(102, 138, 43)
HSLhsl(83, 52%, 35%)
HSVhsv(83, 69%, 54%)
CMYKcmyk(26.1%, 0%, 68.8%, 45.9%)
CIE-LABlab(53.14, -27.80, 44.91)
CIE-LCHlch(53.14, 52.82, 121.75°)
OKLaboklab(58.66% -0.0792 0.102)
OKLCHoklch(58.66% 0.129 127.8)
XYZxyz(15.0040, 21.1758, 5.5819)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A2B #4F2B8A
analogous
#8A7E2B #668A2B #368A2B
triadic
#668A2B #2B668A #8A2B66
tetradic
#668A2B #2B8A7E #4F2B8A #8A2B36
square
#668A2B #2B8A7E #4F2B8A #8A2B36
split-complementary
#668A2B #2B368A #7E2B8A
monochromatic
#212D0E #445B1C #668A2B #88B93A #A5CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A2B#FFFFFF#000000##000000
##668A2B1.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)
#91801E
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a2b;
/* rgb */ color: rgb(102, 138, 43);
/* oklch */ color: oklch(58.7% 0.129 127.8);
Tailwind
colors: {
  custom: {
    50: '#95ac6a',
    500: '#668a2b',
    950: '#000000',
  },
}
SCSS
$custom: #668a2b;
$custom-light: #95ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#668a2b",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 82.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.12916,
    "h": 127.8
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#668A2B
secondary
#7E5DB4
accent
#4CDC82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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