#A7912F#A7912F

#A7912F is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.9% C 0.117 H 96.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A7912F
RGBrgb(167, 145, 47)
HSLhsl(49, 56%, 42%)
HSVhsv(49, 72%, 65%)
CMYKcmyk(0%, 13.2%, 71.9%, 34.5%)
CIE-LABlab(60.49, -2.75, 52.44)
CIE-LCHlch(60.49, 52.51, 93.00°)
OKLaboklab(65.85% -0.0126 0.1167)
OKLCHoklch(65.85% 0.117 96.2)
XYZxyz(26.5762, 28.6729, 6.8234)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7912F #2F45A7
analogous
#A7552F #A7912F #81A72F
triadic
#A7912F #2FA791 #912FA7
tetradic
#A7912F #2FA755 #2F45A7 #A72F81
square
#A7912F #2FA755 #2F45A7 #A72F81
split-complementary
#A7912F #2F81A7 #552FA7
monochromatic
#473E14 #776822 #A7912F #CBB348 #D9C778

Accessibility & contrast

On white

3.12
#A7912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A7912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7912F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7912F#FFFFFF#000000##000000
##A7912F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7912f;
/* rgb */ color: rgb(167, 145, 47);
/* oklch */ color: oklch(65.9% 0.117 96.2);
Tailwind
colors: {
  custom: {
    50: '#c5b06e',
    500: '#a7912f',
    950: '#000000',
  },
}
SCSS
$custom: #a7912f;
$custom-light: #c5b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7912f",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 49,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.1174,
    "h": 96.2
  },
  "luminance": 0.28672
}

Semantic roles & 50–950 ramp

primary
#A7912F
secondary
#7180C1
accent
#64DF48
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7912F

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

Preview Lab → · Contrast checker → · Palette generator →

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