#66831B#66831B

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

Color values

HEX#66831B
RGBrgb(102, 131, 27)
HSLhsl(77, 66%, 31%)
HSVhsv(77, 79%, 51%)
CMYKcmyk(22.1%, 0%, 79.4%, 48.6%)
CIE-LABlab(50.85, -25.38, 48.75)
CIE-LCHlch(50.85, 54.96, 117.50°)
OKLaboklab(56.77% -0.0739 0.1075)
OKLCHoklch(56.77% 0.13 124.5)
XYZxyz(13.7938, 19.1364, 4.0037)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66831B #381B83
analogous
#836C1B #66831B #32831B
triadic
#66831B #1B6683 #831B66
tetradic
#66831B #1B836C #381B83 #831B32
square
#66831B #1B836C #381B83 #831B32
split-complementary
#66831B #1B3283 #6C1B83
monochromatic
#171E06 #3E5011 #66831B #8EB625 #AED841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66831B#FFFFFF#000000##000000
##66831B1.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)
#8B7A00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#6B7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #66831b;
/* rgb */ color: rgb(102, 131, 27);
/* oklch */ color: oklch(56.8% 0.130 124.5);
Tailwind
colors: {
  custom: {
    50: '#95a761',
    500: '#66831b',
    950: '#000000',
  },
}
SCSS
$custom: #66831b;
$custom-light: #95a761;
$custom-dark: #000000;
JSON
{
  "hex": "#66831b",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 76.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.13046,
    "h": 124.5
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#66831B
secondary
#6343B6
accent
#3FE96E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #66831B

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

Preview Lab → · Contrast checker → · Palette generator →

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