#A6921F#A6921F

#A6921F is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.9% C 0.127 H 98.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A6921F
RGBrgb(166, 146, 31)
HSLhsl(51, 69%, 39%)
HSVhsv(51, 81%, 65%)
CMYKcmyk(0%, 12%, 81.3%, 34.9%)
CIE-LABlab(60.57, -4.43, 58.25)
CIE-LCHlch(60.57, 58.42, 94.35°)
OKLaboklab(65.86% -0.019 0.1259)
OKLCHoklch(65.86% 0.127 98.6)
XYZxyz(26.2535, 28.7651, 5.4654)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6921F #1F33A6
analogous
#A64E1F #A6921F #76A61F
triadic
#A6921F #1FA692 #921FA6
tetradic
#A6921F #1FA64E #1F33A6 #A61F76
square
#A6921F #1FA64E #1F33A6 #A61F76
split-complementary
#A6921F #1F76A6 #4E1FA6
monochromatic
#3F370C #726515 #A6921F #D7BE2B #E1CE5E

Accessibility & contrast

On white

3.11
#A6921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A6921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6921F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6921F#FFFFFF#000000##000000
##A6921F1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#B4867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a6921f;
/* rgb */ color: rgb(166, 146, 31);
/* oklch */ color: oklch(65.9% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#c5b166',
    500: '#a6921f',
    950: '#000000',
  },
}
SCSS
$custom: #a6921f;
$custom-light: #c5b166;
$custom-dark: #000000;
JSON
{
  "hex": "#a6921f",
  "rgb": {
    "r": 166,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 51.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.12736,
    "h": 98.6
  },
  "luminance": 0.28764
}

Semantic roles & 50–950 ramp

primary
#A6921F
secondary
#5B6BC5
accent
#56EB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A6921F

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

Preview Lab → · Contrast checker → · Palette generator →

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