#668A25#668A25

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

Color values

HEX#668A25
RGBrgb(102, 138, 37)
HSLhsl(81, 58%, 34%)
HSVhsv(81, 73%, 54%)
CMYKcmyk(26.1%, 0%, 73.2%, 45.9%)
CIE-LABlab(53.10, -28.22, 47.30)
CIE-LCHlch(53.10, 55.08, 120.82°)
OKLaboklab(58.61% -0.0809 0.1061)
OKLCHoklch(58.61% 0.133 127.3)
XYZxyz(14.9019, 21.1350, 5.0443)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A25 #49258A
analogous
#8A7C25 #668A25 #348A25
triadic
#668A25 #25668A #8A2566
tetradic
#668A25 #258A7C #49258A #8A2534
square
#668A25 #258A7C #49258A #8A2534
split-complementary
#668A25 #25348A #7C258A
monochromatic
#1F290B #425A18 #668A25 #8ABA32 #A6D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668A25#FFFFFF#000000##000000
##668A251.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)
#918013
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#6A8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a25;
/* rgb */ color: rgb(102, 138, 37);
/* oklch */ color: oklch(58.6% 0.133 127.3);
Tailwind
colors: {
  custom: {
    50: '#95ac66',
    500: '#668a25',
    950: '#000000',
  },
}
SCSS
$custom: #668a25;
$custom-light: #95ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#668a25",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 81.386,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.13343,
    "h": 127.3
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#668A25
secondary
#7754B7
accent
#47E17E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A25

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

Preview Lab → · Contrast checker → · Palette generator →

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