#66731F#66731F

#66731F is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.8% C 0.108 H 117.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#66731F
RGBrgb(102, 115, 31)
HSLhsl(69, 58%, 29%)
HSVhsv(69, 73%, 45%)
CMYKcmyk(11.3%, 0%, 73%, 54.9%)
CIE-LABlab(45.89, -16.92, 42.50)
CIE-LCHlch(45.89, 45.74, 111.71°)
OKLaboklab(52.77% -0.0503 0.095)
OKLCHoklch(52.77% 0.108 117.9)
XYZxyz(11.8578, 15.1853, 3.6024)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66731F #2C1F73
analogous
#73561F #66731F #3C731F
triadic
#66731F #1F6673 #731F66
tetradic
#66731F #1F7356 #2C1F73 #731F3C
square
#66731F #1F7356 #2C1F73 #731F3C
split-complementary
#66731F #1F3C73 #561F73
monochromatic
#151806 #3B4312 #66731F #91A32C #B6CC41

Accessibility & contrast

On white

5.20
#66731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#66731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #66731F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66731F#FFFFFF#000000##FFFFFF
##66731F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C11
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#6C6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #66731f;
/* rgb */ color: rgb(102, 115, 31);
/* oklch */ color: oklch(52.8% 0.108 117.9);
Tailwind
colors: {
  custom: {
    50: '#949b61',
    500: '#66731f',
    950: '#000000',
  },
}
SCSS
$custom: #66731f;
$custom-light: #949b61;
$custom-dark: #000000;
JSON
{
  "hex": "#66731f",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 69.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.10754,
    "h": 117.9
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#66731F
secondary
#5647A7
accent
#47E15F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #66731F

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

Preview Lab → · Contrast checker → · Palette generator →

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