#A8921F#A8921F

#A8921F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 66.1% C 0.127 H 97.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A8921F
RGBrgb(168, 146, 31)
HSLhsl(50, 69%, 39%)
HSVhsv(50, 82%, 66%)
CMYKcmyk(0%, 13.1%, 81.5%, 34.1%)
CIE-LABlab(60.77, -3.53, 58.49)
CIE-LCHlch(60.77, 58.60, 93.45°)
OKLaboklab(66.06% -0.0165 0.1264)
OKLCHoklch(66.06% 0.127 97.5)
XYZxyz(26.6761, 28.9830, 5.4852)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8921F #1F35A8
analogous
#A84E1F #A8921F #7AA81F
triadic
#A8921F #1FA892 #921FA8
tetradic
#A8921F #1FA84E #1F35A8 #A81F7A
square
#A8921F #1FA84E #1F35A8 #A81F7A
split-complementary
#A8921F #1F7AA8 #4E1FA8
monochromatic
#41380C #746515 #A8921F #D8BC2C #E2CD60

Accessibility & contrast

On white

3.09
#A8921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A8921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8921F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8921F#FFFFFF#000000##000000
##A8921F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8921f;
/* rgb */ color: rgb(168, 146, 31);
/* oklch */ color: oklch(66.1% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#c6b166',
    500: '#a8921f',
    950: '#000000',
  },
}
SCSS
$custom: #a8921f;
$custom-light: #c6b166;
$custom-dark: #000000;
JSON
{
  "hex": "#a8921f",
  "rgb": {
    "r": 168,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 50.365,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66062,
    "c": 0.12744,
    "h": 97.5
  },
  "luminance": 0.28982
}

Semantic roles & 50–950 ramp

primary
#A8921F
secondary
#5D6EC6
accent
#58EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A8921F

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

Preview Lab → · Contrast checker → · Palette generator →

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