#A7912D#A7912D

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

Color values

HEX#A7912D
RGBrgb(167, 145, 45)
HSLhsl(49, 58%, 42%)
HSVhsv(49, 73%, 65%)
CMYKcmyk(0%, 13.2%, 73.1%, 34.5%)
CIE-LABlab(60.48, -2.85, 53.23)
CIE-LCHlch(60.48, 53.31, 93.07°)
OKLaboklab(65.84% -0.0132 0.118)
OKLCHoklch(65.84% 0.119 96.4)
XYZxyz(26.5367, 28.6571, 6.6157)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7912D #2D43A7
analogous
#A7542D #A7912D #80A72D
triadic
#A7912D #2DA791 #912DA7
tetradic
#A7912D #2DA754 #2D43A7 #A72D80
square
#A7912D #2DA754 #2D43A7 #A72D80
split-complementary
#A7912D #2D80A7 #542DA7
monochromatic
#473D13 #776720 #A7912D #CDB444 #DAC875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7912D#FFFFFF#000000##000000
##A7912D1.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)
#A08E1D
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#B4867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a7912d;
/* rgb */ color: rgb(167, 145, 45);
/* oklch */ color: oklch(65.8% 0.119 96.4);
Tailwind
colors: {
  custom: {
    50: '#c5b06d',
    500: '#a7912d',
    950: '#000000',
  },
}
SCSS
$custom: #a7912d;
$custom-light: #c5b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7912d",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 49.18,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.11874,
    "h": 96.4
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#A7912D
secondary
#6E7DC1
accent
#63E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A7912D

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

Preview Lab → · Contrast checker → · Palette generator →

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