#668E25#668E25

#668E25 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.139 H 128.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#668E25
RGBrgb(102, 142, 37)
HSLhsl(83, 59%, 35%)
HSVhsv(83, 74%, 56%)
CMYKcmyk(28.2%, 0%, 73.9%, 44.3%)
CIE-LABlab(54.35, -30.13, 48.55)
CIE-LCHlch(54.35, 57.14, 121.83°)
OKLaboklab(59.62% -0.0861 0.1087)
OKLCHoklch(59.62% 0.139 128.4)
XYZxyz(15.4864, 22.3040, 5.2391)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E25 #4D258E
analogous
#8E8125 #668E25 #328E25
triadic
#668E25 #25668E #8E2566
tetradic
#668E25 #258E81 #4D258E #8E2532
square
#668E25 #258E81 #4D258E #8E2532
split-complementary
#668E25 #25328E #81258E
monochromatic
#202D0C #435D18 #668E25 #89BF32 #A5D45A

Accessibility & contrast

On white

3.85
#668E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#668E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668E25
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668E25#FFFFFF#000000##000000
##668E251.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958412
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#6A877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e25;
/* rgb */ color: rgb(102, 142, 37);
/* oklch */ color: oklch(59.6% 0.139 128.4);
Tailwind
colors: {
  custom: {
    50: '#95af67',
    500: '#668e25',
    950: '#000000',
  },
}
SCSS
$custom: #668e25;
$custom-light: #95af67;
$custom-dark: #000000;
JSON
{
  "hex": "#668e25",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 82.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.1387,
    "h": 128.4
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#668E25
secondary
#7C56B9
accent
#46E281
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E25

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

Preview Lab → · Contrast checker → · Palette generator →

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