#668F26#668F26

#668F26 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.139 H 128.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#668F26
RGBrgb(102, 143, 38)
HSLhsl(83, 58%, 35%)
HSVhsv(83, 73%, 56%)
CMYKcmyk(28.7%, 0%, 73.4%, 43.9%)
CIE-LABlab(54.67, -30.54, 48.48)
CIE-LCHlch(54.67, 57.30, 122.21°)
OKLaboklab(59.89% -0.0871 0.1088)
OKLCHoklch(59.89% 0.139 128.7)
XYZxyz(15.6518, 22.6092, 5.3727)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F26 #4F268F
analogous
#8F8326 #668F26 #318F26
triadic
#668F26 #26668F #8F2666
tetradic
#668F26 #268F83 #4F268F #8F2631
square
#668F26 #268F83 #4F268F #8F2631
split-complementary
#668F26 #26318F #83268F
monochromatic
#212E0C #445F19 #668F26 #88BF33 #A5D45C

Accessibility & contrast

On white

3.80
#668F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#668F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F26
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F26#FFFFFF#000000##000000
##668F261.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968513
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#69887B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f26;
/* rgb */ color: rgb(102, 143, 38);
/* oklch */ color: oklch(59.9% 0.139 128.7);
Tailwind
colors: {
  custom: {
    50: '#95b068',
    500: '#668f26',
    950: '#000000',
  },
}
SCSS
$custom: #668f26;
$custom-light: #95b068;
$custom-dark: #000000;
JSON
{
  "hex": "#668f26",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 83.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.13936,
    "h": 128.7
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#668F26
secondary
#7E58B9
accent
#47E183
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F26

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

Preview Lab → · Contrast checker → · Palette generator →

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