#A6941F#A6941F

#A6941F is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.3% C 0.129 H 99.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A6941F
RGBrgb(166, 148, 31)
HSLhsl(52, 69%, 39%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 10.8%, 81.3%, 34.9%)
CIE-LABlab(61.12, -5.51, 58.73)
CIE-LCHlch(61.12, 58.99, 95.36°)
OKLaboklab(66.3% -0.022 0.127)
OKLCHoklch(66.3% 0.129 99.8)
XYZxyz(26.5645, 29.3871, 5.5691)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6941F #1F31A6
analogous
#A6501F #A6941F #74A61F
triadic
#A6941F #1FA694 #941FA6
tetradic
#A6941F #1FA650 #1F31A6 #A61F74
square
#A6941F #1FA650 #1F31A6 #A61F74
split-complementary
#A6941F #1F74A6 #501FA6
monochromatic
#3F380C #726615 #A6941F #D7C02B #E1D05E

Accessibility & contrast

On white

3.05
#A6941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A6941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6941F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6941F#FFFFFF#000000##000000
##A6941F1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#B3887F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a6941f;
/* rgb */ color: rgb(166, 148, 31);
/* oklch */ color: oklch(66.3% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#c4b366',
    500: '#a6941f',
    950: '#000000',
  },
}
SCSS
$custom: #a6941f;
$custom-light: #c4b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a6941f",
  "rgb": {
    "r": 166,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 52,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.12887,
    "h": 99.8
  },
  "luminance": 0.29386
}

Semantic roles & 50–950 ramp

primary
#A6941F
secondary
#5B69C5
accent
#54EB3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A6941F

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

Preview Lab → · Contrast checker → · Palette generator →

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