#668D25#668D25

#668D25 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.137 H 128.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#668D25
RGBrgb(102, 141, 37)
HSLhsl(83, 58%, 35%)
HSVhsv(83, 74%, 55%)
CMYKcmyk(27.7%, 0%, 73.8%, 44.7%)
CIE-LABlab(54.04, -29.66, 48.24)
CIE-LCHlch(54.04, 56.62, 121.59°)
OKLaboklab(59.37% -0.0848 0.1081)
OKLCHoklch(59.37% 0.137 128.1)
XYZxyz(15.3383, 22.0078, 5.1897)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668D25 #4C258D
analogous
#8D8025 #668D25 #328D25
triadic
#668D25 #25668D #8D2566
tetradic
#668D25 #258D80 #4C258D #8D2532
square
#668D25 #258D80 #4C258D #8D2532
split-complementary
#668D25 #25328D #80258D
monochromatic
#202C0C #435D18 #668D25 #89BD32 #A6D359

Accessibility & contrast

On white

3.89
#668D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#668D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668D25
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668D25#FFFFFF#000000##000000
##668D251.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948312
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#6A8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #668d25;
/* rgb */ color: rgb(102, 141, 37);
/* oklch */ color: oklch(59.4% 0.137 128.1);
Tailwind
colors: {
  custom: {
    50: '#95ae67',
    500: '#668d25',
    950: '#000000',
  },
}
SCSS
$custom: #668d25;
$custom-light: #95ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#668d25",
  "rgb": {
    "r": 102,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 82.5,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.13739,
    "h": 128.1
  },
  "luminance": 0.22008
}

Semantic roles & 50–950 ramp

primary
#668D25
secondary
#7B56B8
accent
#46E280
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668D25

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

Preview Lab → · Contrast checker → · Palette generator →

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