#66981F#66981F

#66981F is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.1% C 0.155 H 130.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#66981F
RGBrgb(102, 152, 31)
HSLhsl(85, 66%, 36%)
HSVhsv(85, 80%, 60%)
CMYKcmyk(32.9%, 0%, 79.6%, 40.4%)
CIE-LABlab(57.44, -35.10, 53.60)
CIE-LCHlch(57.44, 64.07, 123.22°)
OKLaboklab(62.13% -0.1001 0.1184)
OKLCHoklch(62.13% 0.155 130.2)
XYZxyz(16.9550, 25.3796, 5.3015)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66981F #511F98
analogous
#988D1F #66981F #2A981F
triadic
#66981F #1F6698 #981F66
tetradic
#66981F #1F988D #511F98 #981F2A
square
#66981F #1F988D #511F98 #981F2A
split-complementary
#66981F #1F2A98 #8D1F98
monochromatic
#22320A #446515 #66981F #88CB29 #A4DC55

Accessibility & contrast

On white

3.46
#66981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#66981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66981F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66981F#FFFFFF#000000##000000
##66981F1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#699182
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #66981f;
/* rgb */ color: rgb(102, 152, 31);
/* oklch */ color: oklch(62.1% 0.155 130.2);
Tailwind
colors: {
  custom: {
    50: '#96b665',
    500: '#66981f',
    950: '#000000',
  },
}
SCSS
$custom: #66981f;
$custom-light: #96b665;
$custom-dark: #000000;
JSON
{
  "hex": "#66981f",
  "rgb": {
    "r": 102,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 84.793,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62133,
    "c": 0.15499,
    "h": 130.2
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#66981F
secondary
#8053C0
accent
#3FE985
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #66981F

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

Preview Lab → · Contrast checker → · Palette generator →

#66981F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva