#668E26#668E26

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

Color values

HEX#668E26
RGBrgb(102, 142, 38)
HSLhsl(83, 58%, 35%)
HSVhsv(83, 73%, 56%)
CMYKcmyk(28.2%, 0%, 73.2%, 44.3%)
CIE-LABlab(54.35, -30.07, 48.17)
CIE-LCHlch(54.35, 56.79, 121.97°)
OKLaboklab(59.63% -0.0858 0.1081)
OKLCHoklch(59.63% 0.138 128.5)
XYZxyz(15.5023, 22.3104, 5.3229)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668E26 #4E268E
analogous
#8E8226 #668E26 #328E26
triadic
#668E26 #26668E #8E2666
tetradic
#668E26 #268E82 #4E268E #8E2632
square
#668E26 #268E82 #4E268E #8E2632
split-complementary
#668E26 #26328E #82268E
monochromatic
#212D0C #435E19 #668E26 #89BE33 #A5D35B

Accessibility & contrast

On white

3.84
#668E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668E26#FFFFFF#000000##000000
##668E261.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#69877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #668e26;
/* rgb */ color: rgb(102, 142, 38);
/* oklch */ color: oklch(59.6% 0.138 128.5);
Tailwind
colors: {
  custom: {
    50: '#95af67',
    500: '#668e26',
    950: '#000000',
  },
}
SCSS
$custom: #668e26;
$custom-light: #95af67;
$custom-dark: #000000;
JSON
{
  "hex": "#668e26",
  "rgb": {
    "r": 102,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 83.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59632,
    "c": 0.13805,
    "h": 128.5
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#668E26
secondary
#7D58B8
accent
#47E182
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668E26

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

Preview Lab → · Contrast checker → · Palette generator →

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