#66831C#66831C

#66831C is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.8% C 0.130 H 124.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#66831C
RGBrgb(102, 131, 28)
HSLhsl(77, 65%, 31%)
HSVhsv(77, 79%, 51%)
CMYKcmyk(22.1%, 0%, 78.6%, 48.6%)
CIE-LABlab(50.85, -25.32, 48.41)
CIE-LCHlch(50.85, 54.64, 117.61°)
OKLaboklab(56.77% -0.0737 0.107)
OKLCHoklch(56.77% 0.13 124.6)
XYZxyz(13.8055, 19.1411, 4.0657)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66831C #391C83
analogous
#836C1C #66831C #32831C
triadic
#66831C #1C6683 #831C66
tetradic
#66831C #1C836C #391C83 #831C32
square
#66831C #1C836C #391C83 #831C32
split-complementary
#66831C #1C3283 #6C1C83
monochromatic
#171E06 #3F5111 #66831C #8DB527 #ADD743

Accessibility & contrast

On white

4.35
#66831C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#66831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #66831C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66831C#FFFFFF#000000##000000
##66831C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A03
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#6B7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #66831c;
/* rgb */ color: rgb(102, 131, 28);
/* oklch */ color: oklch(56.8% 0.130 124.6);
Tailwind
colors: {
  custom: {
    50: '#95a761',
    500: '#66831c',
    950: '#000000',
  },
}
SCSS
$custom: #66831c;
$custom-light: #95a761;
$custom-dark: #000000;
JSON
{
  "hex": "#66831c",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 76.893,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.1299,
    "h": 124.6
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#66831C
secondary
#6545B6
accent
#40E86F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66831C

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

Preview Lab → · Contrast checker → · Palette generator →

#66831C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva