#A1851F#A1851F

#A1851F is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.118 H 92.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A1851F
RGBrgb(161, 133, 31)
HSLhsl(47, 68%, 38%)
HSVhsv(47, 81%, 63%)
CMYKcmyk(0%, 17.4%, 80.7%, 36.9%)
CIE-LABlab(56.54, 0.42, 54.48)
CIE-LCHlch(56.54, 54.48, 89.56°)
OKLaboklab(62.56% -0.005 0.1181)
OKLCHoklch(62.56% 0.118 92.4)
XYZxyz(23.3342, 24.4525, 4.7868)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1851F #1F3BA1
analogous
#A1441F #A1851F #7CA11F
triadic
#A1851F #1FA185 #851FA1
tetradic
#A1851F #1FA144 #1F3BA1 #A11F7C
square
#A1851F #1FA144 #1F3BA1 #A11F7C
split-complementary
#A1851F #1F7CA1 #441FA1
monochromatic
#3A300B #6E5B15 #A1851F #D4AF29 #DFC35B

Accessibility & contrast

On white

3.57
#A1851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A1851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1851F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1851F#FFFFFF#000000##000000
##A1851F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#AF7972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a1851f;
/* rgb */ color: rgb(161, 133, 31);
/* oklch */ color: oklch(62.6% 0.118 92.4);
Tailwind
colors: {
  custom: {
    50: '#c1a864',
    500: '#a1851f',
    950: '#000000',
  },
}
SCSS
$custom: #a1851f;
$custom-light: #c1a864;
$custom-dark: #000000;
JSON
{
  "hex": "#a1851f",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 47.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.11817,
    "h": 92.4
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#A1851F
secondary
#586FC4
accent
#63EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1851F

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

Preview Lab → · Contrast checker → · Palette generator →

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