#66B231#66B231

#66B231 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 68.9% C 0.177 H 135.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#66B231
RGBrgb(102, 178, 49)
HSLhsl(95, 57%, 45%)
HSVhsv(95, 72%, 70%)
CMYKcmyk(42.7%, 0%, 72.5%, 30.2%)
CIE-LABlab(65.66, -45.20, 55.38)
CIE-LCHlch(65.66, 71.48, 129.22°)
OKLaboklab(68.88% -0.1261 0.1248)
OKLCHoklch(68.88% 0.177 135.3)
XYZxyz(21.9538, 34.8861, 8.4820)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66B231 #7D31B2
analogous
#A7B231 #66B231 #31B23D
triadic
#66B231 #3166B2 #B23166
tetradic
#66B231 #31A7B2 #7D31B2 #B23D31
square
#66B231 #31A7B2 #7D31B2 #B23D31
split-complementary
#66B231 #3D31B2 #B231A7
monochromatic
#2F5217 #4B8224 #66B231 #85CF51 #A7DC81

Accessibility & contrast

On white

2.63
#66B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#66B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #66B231
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66B231#FFFFFF#000000##000000
##66B2311.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A31A
Deuteranopia (green-blind)
#AE9D3D
Tritanopia (blue-blind)
#64AB99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #66b231;
/* rgb */ color: rgb(102, 178, 49);
/* oklch */ color: oklch(68.9% 0.177 135.3);
Tailwind
colors: {
  custom: {
    50: '#98c971',
    500: '#66b231',
    950: '#000000',
  },
}
SCSS
$custom: #66b231;
$custom-light: #98c971;
$custom-dark: #000000;
JSON
{
  "hex": "#66b231",
  "rgb": {
    "r": 102,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 95.349,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.17744,
    "h": 135.3
  },
  "luminance": 0.34887
}

Semantic roles & 50–950 ramp

primary
#66B231
secondary
#A679C5
accent
#48E0A1
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #66B231

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

Preview Lab → · Contrast checker → · Palette generator →

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