#668C25#668C25

#668C25 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.136 H 127.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#668C25
RGBrgb(102, 140, 37)
HSLhsl(82, 58%, 35%)
HSVhsv(82, 74%, 55%)
CMYKcmyk(27.1%, 0%, 73.6%, 45.1%)
CIE-LABlab(53.72, -29.18, 47.93)
CIE-LCHlch(53.72, 56.11, 121.34°)
OKLaboklab(59.12% -0.0835 0.1074)
OKLCHoklch(59.12% 0.136 127.9)
XYZxyz(15.1915, 21.7142, 5.1408)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668C25 #4B258C
analogous
#8C7F25 #668C25 #338C25
triadic
#668C25 #25668C #8C2566
tetradic
#668C25 #258C7F #4B258C #8C2533
square
#668C25 #258C7F #4B258C #8C2533
split-complementary
#668C25 #25338C #7F258C
monochromatic
#1F2B0B #435C18 #668C25 #89BC32 #A6D358

Accessibility & contrast

On white

3.93
#668C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#668C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668C25
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668C25#FFFFFF#000000##000000
##668C251.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#6A8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #668c25;
/* rgb */ color: rgb(102, 140, 37);
/* oklch */ color: oklch(59.1% 0.136 127.9);
Tailwind
colors: {
  custom: {
    50: '#95ad67',
    500: '#668c25',
    950: '#000000',
  },
}
SCSS
$custom: #668c25;
$custom-light: #95ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#668c25",
  "rgb": {
    "r": 102,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 82.136,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.13607,
    "h": 127.9
  },
  "luminance": 0.21715
}

Semantic roles & 50–950 ramp

primary
#668C25
secondary
#7A55B8
accent
#46E180
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668C25

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

Preview Lab → · Contrast checker → · Palette generator →

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