#668B25#668B25

#668B25 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.135 H 127.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#668B25
RGBrgb(102, 139, 37)
HSLhsl(82, 58%, 35%)
HSVhsv(82, 73%, 55%)
CMYKcmyk(26.6%, 0%, 73.4%, 45.5%)
CIE-LABlab(53.41, -28.70, 47.61)
CIE-LCHlch(53.41, 55.60, 121.08°)
OKLaboklab(58.86% -0.0822 0.1068)
OKLCHoklch(58.86% 0.135 127.6)
XYZxyz(15.0461, 21.4233, 5.0923)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668B25 #4A258B
analogous
#8B7D25 #668B25 #338B25
triadic
#668B25 #25668B #8B2566
tetradic
#668B25 #258B7D #4A258B #8B2533
square
#668B25 #258B7D #4A258B #8B2533
split-complementary
#668B25 #25338B #7D258B
monochromatic
#1F2A0B #435B18 #668B25 #89BB32 #A6D358

Accessibility & contrast

On white

3.97
#668B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#668B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668B25
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668B25#FFFFFF#000000##000000
##668B251.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#6A8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668b25;
/* rgb */ color: rgb(102, 139, 37);
/* oklch */ color: oklch(58.9% 0.135 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ad67',
    500: '#668b25',
    950: '#000000',
  },
}
SCSS
$custom: #668b25;
$custom-light: #95ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#668b25",
  "rgb": {
    "r": 102,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 81.765,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.13475,
    "h": 127.6
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#668B25
secondary
#7855B7
accent
#47E17F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668B25

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

Preview Lab → · Contrast checker → · Palette generator →

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