#668A26#668A26

#668A26 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.133 H 127.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#668A26
RGBrgb(102, 138, 38)
HSLhsl(82, 57%, 35%)
HSVhsv(82, 72%, 54%)
CMYKcmyk(26.1%, 0%, 72.5%, 45.9%)
CIE-LABlab(53.10, -28.15, 46.92)
CIE-LCHlch(53.10, 54.72, 120.97°)
OKLaboklab(58.62% -0.0806 0.1055)
OKLCHoklch(58.62% 0.133 127.4)
XYZxyz(14.9178, 21.1414, 5.1281)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A26 #4A268A
analogous
#8A7C26 #668A26 #348A26
triadic
#668A26 #26668A #8A2666
tetradic
#668A26 #268A7C #4A268A #8A2634
square
#668A26 #268A7C #4A268A #8A2634
split-complementary
#668A26 #26348A #7C268A
monochromatic
#1F2A0C #435A19 #668A26 #89BA33 #A6D159

Accessibility & contrast

On white

4.02
#668A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#668A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A26
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A26#FFFFFF#000000##000000
##668A261.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#6A8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a26;
/* rgb */ color: rgb(102, 138, 38);
/* oklch */ color: oklch(58.6% 0.133 127.4);
Tailwind
colors: {
  custom: {
    50: '#95ac67',
    500: '#668a26',
    950: '#000000',
  },
}
SCSS
$custom: #668a26;
$custom-light: #95ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#668a26",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 81.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.13276,
    "h": 127.4
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#668A26
secondary
#7856B6
accent
#48E07F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A26

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

Preview Lab → · Contrast checker → · Palette generator →

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