#66B31C#66B31C

#66B31C is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.0% C 0.189 H 134.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#66B31C
RGBrgb(102, 179, 28)
HSLhsl(91, 73%, 41%)
HSVhsv(91, 84%, 70%)
CMYKcmyk(43%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.86, -46.76, 62.05)
CIE-LCHlch(65.86, 77.70, 127.00°)
OKLaboklab(69.02% -0.1316 0.1358)
OKLCHoklch(69.02% 0.189 134.1)
XYZxyz(21.8088, 35.1476, 6.7334)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66B31C #691CB3
analogous
#B1B31C #66B31C #1CB31D
triadic
#66B31C #1C66B3 #B31C66
tetradic
#66B31C #1CB1B3 #691CB3 #B31D1C
square
#66B31C #1CB1B3 #691CB3 #B31D1C
split-complementary
#66B31C #1D1CB3 #B31CB1
monochromatic
#2A490B #487E14 #66B31C #84DE2E #A3E763

Accessibility & contrast

On white

2.62
#66B31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#66B31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #66B31C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66B31C#FFFFFF#000000##000000
##66B31C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#65AC98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #66b31c;
/* rgb */ color: rgb(102, 179, 28);
/* oklch */ color: oklch(69.0% 0.189 134.1);
Tailwind
colors: {
  custom: {
    50: '#99ca68',
    500: '#66b31c',
    950: '#000000',
  },
}
SCSS
$custom: #66b31c;
$custom-light: #99ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#66b31c",
  "rgb": {
    "r": 102,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 90.596,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.18906,
    "h": 134.1
  },
  "luminance": 0.35149
}

Semantic roles & 50–950 ramp

primary
#66B31C
secondary
#965FCB
accent
#38F096
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0F1307
muted
#7E827A

Preview Lab

Preview with #66B31C

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

Preview Lab → · Contrast checker → · Palette generator →

#66B31C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva