#A8912F#A8912F

#A8912F is a light, moderate yellow. Relative luminance 0.288; OKLCH L 66.0% C 0.118 H 95.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A8912F
RGBrgb(168, 145, 47)
HSLhsl(49, 56%, 42%)
HSVhsv(49, 72%, 66%)
CMYKcmyk(0%, 13.7%, 72%, 34.1%)
CIE-LABlab(60.59, -2.30, 52.57)
CIE-LCHlch(60.59, 52.62, 92.51°)
OKLaboklab(65.95% -0.0114 0.117)
OKLCHoklch(65.95% 0.118 95.6)
XYZxyz(26.7883, 28.7823, 6.8333)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8912F #2F46A8
analogous
#A8552F #A8912F #83A82F
triadic
#A8912F #2FA891 #912FA8
tetradic
#A8912F #2FA855 #2F46A8 #A82F83
square
#A8912F #2FA855 #2F46A8 #A82F83
split-complementary
#A8912F #2F83A8 #552FA8
monochromatic
#483E14 #786822 #A8912F #CCB348 #D9C778

Accessibility & contrast

On white

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

On black

6.76
#A8912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8912F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8912F#FFFFFF#000000##000000
##A8912F1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8912f;
/* rgb */ color: rgb(168, 145, 47);
/* oklch */ color: oklch(66.0% 0.118 95.6);
Tailwind
colors: {
  custom: {
    50: '#c5b06e',
    500: '#a8912f',
    950: '#000000',
  },
}
SCSS
$custom: #a8912f;
$custom-light: #c5b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8912f",
  "rgb": {
    "r": 168,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 48.595,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.11752,
    "h": 95.6
  },
  "luminance": 0.28781
}

Semantic roles & 50–950 ramp

primary
#A8912F
secondary
#7181C1
accent
#65E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A8912F

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

Preview Lab → · Contrast checker → · Palette generator →

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