#668F24#668F24

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

Color values

HEX#668F24
RGBrgb(102, 143, 36)
HSLhsl(83, 60%, 35%)
HSVhsv(83, 75%, 56%)
CMYKcmyk(28.7%, 0%, 74.8%, 43.9%)
CIE-LABlab(54.65, -30.67, 49.22)
CIE-LCHlch(54.65, 57.99, 121.93°)
OKLaboklab(59.87% -0.0877 0.11)
OKLCHoklch(59.87% 0.141 128.6)
XYZxyz(15.6204, 22.5967, 5.2073)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F24 #4D248F
analogous
#8F8324 #668F24 #308F24
triadic
#668F24 #24668F #8F2466
tetradic
#668F24 #248F83 #4D248F #8F2430
square
#668F24 #248F83 #4D248F #8F2430
split-complementary
#668F24 #24308F #83248F
monochromatic
#202D0B #435E18 #668F24 #89C030 #A5D558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F24#FFFFFF#000000##000000
##668F241.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)
#96850F
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f24;
/* rgb */ color: rgb(102, 143, 36);
/* oklch */ color: oklch(59.9% 0.141 128.6);
Tailwind
colors: {
  custom: {
    50: '#95b067',
    500: '#668f24',
    950: '#000000',
  },
}
SCSS
$custom: #668f24;
$custom-light: #95b067;
$custom-dark: #000000;
JSON
{
  "hex": "#668f24",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 82.991,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.14065,
    "h": 128.6
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#668F24
secondary
#7C55B9
accent
#45E381
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F24

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

Preview Lab → · Contrast checker → · Palette generator →

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