#668F25#668F25

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

Color values

HEX#668F25
RGBrgb(102, 143, 37)
HSLhsl(83, 59%, 35%)
HSVhsv(83, 74%, 56%)
CMYKcmyk(28.7%, 0%, 74.1%, 43.9%)
CIE-LABlab(54.66, -30.61, 48.86)
CIE-LCHlch(54.66, 57.65, 122.07°)
OKLaboklab(59.88% -0.0874 0.1094)
OKLCHoklch(59.88% 0.14 128.6)
XYZxyz(15.6359, 22.6029, 5.2889)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F25 #4E258F
analogous
#8F8325 #668F25 #318F25
triadic
#668F25 #25668F #8F2566
tetradic
#668F25 #258F83 #4E258F #8F2531
square
#668F25 #258F83 #4E258F #8F2531
split-complementary
#668F25 #25318F #83258F
monochromatic
#212E0C #435E18 #668F25 #89C032 #A5D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F25#FFFFFF#000000##000000
##668F251.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)
#968511
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#69887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f25;
/* rgb */ color: rgb(102, 143, 37);
/* oklch */ color: oklch(59.9% 0.140 128.6);
Tailwind
colors: {
  custom: {
    50: '#95b067',
    500: '#668f25',
    950: '#000000',
  },
}
SCSS
$custom: #668f25;
$custom-light: #95b067;
$custom-dark: #000000;
JSON
{
  "hex": "#668f25",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 83.208,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.14001,
    "h": 128.6
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#668F25
secondary
#7D57B9
accent
#46E282
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F25

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

Preview Lab → · Contrast checker → · Palette generator →

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