#A7921F#A7921F

#A7921F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.127 H 98.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A7921F
RGBrgb(167, 146, 31)
HSLhsl(51, 69%, 39%)
HSVhsv(51, 81%, 65%)
CMYKcmyk(0%, 12.6%, 81.4%, 34.5%)
CIE-LABlab(60.67, -3.98, 58.37)
CIE-LCHlch(60.67, 58.50, 93.90°)
OKLaboklab(65.96% -0.0178 0.1261)
OKLCHoklch(65.96% 0.127 98)
XYZxyz(26.4640, 28.8736, 5.4753)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7921F #1F34A7
analogous
#A74E1F #A7921F #78A71F
triadic
#A7921F #1FA792 #921FA7
tetradic
#A7921F #1FA74E #1F34A7 #A71F78
square
#A7921F #1FA74E #1F34A7 #A71F78
split-complementary
#A7921F #1F78A7 #4E1FA7
monochromatic
#40380C #736515 #A7921F #D8BD2B #E1CD5F

Accessibility & contrast

On white

3.10
#A7921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A7921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7921F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7921F#FFFFFF#000000##000000
##A7921F1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7921f;
/* rgb */ color: rgb(167, 146, 31);
/* oklch */ color: oklch(66.0% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#c5b166',
    500: '#a7921f',
    950: '#000000',
  },
}
SCSS
$custom: #a7921f;
$custom-light: #c5b166;
$custom-dark: #000000;
JSON
{
  "hex": "#a7921f",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 50.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65963,
    "c": 0.12739,
    "h": 98
  },
  "luminance": 0.28872
}

Semantic roles & 50–950 ramp

primary
#A7921F
secondary
#5C6CC6
accent
#57EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A7921F

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

Preview Lab → · Contrast checker → · Palette generator →

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