#A1931F#A1931F

#A1931F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.6% C 0.128 H 102.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A1931F
RGBrgb(161, 147, 31)
HSLhsl(54, 68%, 38%)
HSVhsv(54, 81%, 63%)
CMYKcmyk(0%, 8.7%, 80.7%, 36.9%)
CIE-LABlab(60.38, -7.24, 57.89)
CIE-LCHlch(60.38, 58.34, 97.13°)
OKLaboklab(65.6% -0.0266 0.1254)
OKLCHoklch(65.6% 0.128 102)
XYZxyz(25.3802, 28.5446, 5.4688)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1931F #1F2DA1
analogous
#A1521F #A1931F #6EA11F
triadic
#A1931F #1FA193 #931FA1
tetradic
#A1931F #1FA152 #1F2DA1 #A11F6E
square
#A1931F #1FA152 #1F2DA1 #A11F6E
split-complementary
#A1931F #1F6EA1 #521FA1
monochromatic
#3A350B #6E6415 #A1931F #D4C229 #DFD15B

Accessibility & contrast

On white

3.13
#A1931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A1931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1931F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1931F#FFFFFF#000000##000000
##A1931F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1931f;
/* rgb */ color: rgb(161, 147, 31);
/* oklch */ color: oklch(65.6% 0.128 102.0);
Tailwind
colors: {
  custom: {
    50: '#c1b266',
    500: '#a1931f',
    950: '#000000',
  },
}
SCSS
$custom: #a1931f;
$custom-light: #c1b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a1931f",
  "rgb": {
    "r": 161,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 53.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65597,
    "c": 0.12822,
    "h": 102
  },
  "luminance": 0.28543
}

Semantic roles & 50–950 ramp

primary
#A1931F
secondary
#5864C4
accent
#50EB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A1931F

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

Preview Lab → · Contrast checker → · Palette generator →

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