#A6951F#A6951F

#A6951F is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.5% C 0.130 H 100.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A6951F
RGBrgb(166, 149, 31)
HSLhsl(52, 69%, 39%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 10.2%, 81.3%, 34.9%)
CIE-LABlab(61.40, -6.05, 58.97)
CIE-LCHlch(61.40, 59.28, 95.86°)
OKLaboklab(66.52% -0.0236 0.1275)
OKLCHoklch(66.52% 0.13 100.5)
XYZxyz(26.7220, 29.7021, 5.6216)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6951F #1F30A6
analogous
#A6511F #A6951F #73A61F
triadic
#A6951F #1FA695 #951FA6
tetradic
#A6951F #1FA651 #1F30A6 #A61F73
square
#A6951F #1FA651 #1F30A6 #A61F73
split-complementary
#A6951F #1F73A6 #511FA6
monochromatic
#3F380C #726715 #A6951F #D7C22B #E1D15E

Accessibility & contrast

On white

3.03
#A6951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A6951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6951F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6951F#FFFFFF#000000##000000
##A6951F1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#B3897F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a6951f;
/* rgb */ color: rgb(166, 149, 31);
/* oklch */ color: oklch(66.5% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#c4b366',
    500: '#a6951f',
    950: '#000000',
  },
}
SCSS
$custom: #a6951f;
$custom-light: #c4b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a6951f",
  "rgb": {
    "r": 166,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 52.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.12965,
    "h": 100.5
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#A6951F
secondary
#5B69C5
accent
#52EB3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A6951F

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

Preview Lab → · Contrast checker → · Palette generator →

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