#A6931F#A6931F

#A6931F is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.1% C 0.128 H 99.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A6931F
RGBrgb(166, 147, 31)
HSLhsl(52, 69%, 39%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 11.4%, 81.3%, 34.9%)
CIE-LABlab(60.85, -4.97, 58.49)
CIE-LCHlch(60.85, 58.70, 94.86°)
OKLaboklab(66.08% -0.0205 0.1265)
OKLCHoklch(66.08% 0.128 99.2)
XYZxyz(26.4083, 29.0747, 5.5170)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6931F #1F32A6
analogous
#A6501F #A6931F #75A61F
triadic
#A6931F #1FA693 #931FA6
tetradic
#A6931F #1FA650 #1F32A6 #A61F75
square
#A6931F #1FA650 #1F32A6 #A61F75
split-complementary
#A6931F #1F75A6 #501FA6
monochromatic
#3F380C #726515 #A6931F #D7BF2B #E1CF5E

Accessibility & contrast

On white

3.08
#A6931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A6931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6931F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6931F#FFFFFF#000000##000000
##A6931F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A79628
Tritanopia (blue-blind)
#B4877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a6931f;
/* rgb */ color: rgb(166, 147, 31);
/* oklch */ color: oklch(66.1% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#c5b266',
    500: '#a6931f',
    950: '#000000',
  },
}
SCSS
$custom: #a6931f;
$custom-light: #c5b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a6931f",
  "rgb": {
    "r": 166,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 51.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66081,
    "c": 0.1281,
    "h": 99.2
  },
  "luminance": 0.29073
}

Semantic roles & 50–950 ramp

primary
#A6931F
secondary
#5B6AC5
accent
#55EB3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A6931F

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

Preview Lab → · Contrast checker → · Palette generator →

#A6931F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva