#66831F#66831F

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

Color values

HEX#66831F
RGBrgb(102, 131, 31)
HSLhsl(77, 62%, 32%)
HSVhsv(77, 76%, 51%)
CMYKcmyk(22.1%, 0%, 76.3%, 48.6%)
CIE-LABlab(50.87, -25.16, 47.37)
CIE-LCHlch(50.87, 53.64, 117.97°)
OKLaboklab(56.79% -0.073 0.1053)
OKLCHoklch(56.79% 0.128 124.8)
XYZxyz(13.8432, 19.1562, 4.2643)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66831F #3C1F83
analogous
#836E1F #66831F #34831F
triadic
#66831F #1F6683 #831F66
tetradic
#66831F #1F836E #3C1F83 #831F34
square
#66831F #1F836E #3C1F83 #831F34
split-complementary
#66831F #1F3483 #6E1F83
monochromatic
#192008 #3F5213 #66831F #8DB42B #ABD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##66831F#FFFFFF#000000##000000
##66831F1.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)
#8B7A0A
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#6B7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #66831f;
/* rgb */ color: rgb(102, 131, 31);
/* oklch */ color: oklch(56.8% 0.128 124.8);
Tailwind
colors: {
  custom: {
    50: '#95a763',
    500: '#66831f',
    950: '#000000',
  },
}
SCSS
$custom: #66831f;
$custom-light: #95a763;
$custom-dark: #000000;
JSON
{
  "hex": "#66831f",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 77.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.12814,
    "h": 124.8
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#66831F
secondary
#6848B6
accent
#43E572
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #66831F

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

Preview Lab → · Contrast checker → · Palette generator →

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