#A7951E#A7951E

#A7951E is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.6% C 0.130 H 100.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A7951E
RGBrgb(167, 149, 30)
HSLhsl(52, 70%, 39%)
HSVhsv(52, 82%, 65%)
CMYKcmyk(0%, 10.8%, 82%, 34.5%)
CIE-LABlab(61.49, -5.63, 59.38)
CIE-LCHlch(61.49, 59.65, 95.42°)
OKLaboklab(66.61% -0.0225 0.1281)
OKLCHoklch(66.61% 0.13 100)
XYZxyz(26.9195, 29.8055, 5.5631)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7951E #1E30A7
analogous
#A7501E #A7951E #74A71E
triadic
#A7951E #1EA795 #951EA7
tetradic
#A7951E #1EA750 #1E30A7 #A71E74
square
#A7951E #1EA750 #1E30A7 #A71E74
split-complementary
#A7951E #1E74A7 #501EA7
monochromatic
#3F380B #736715 #A7951E #D9C22A #E2D15D

Accessibility & contrast

On white

3.02
#A7951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A7951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7951E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7951E#FFFFFF#000000##000000
##A7951E1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#B5897F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a7951e;
/* rgb */ color: rgb(167, 149, 30);
/* oklch */ color: oklch(66.6% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#c5b366',
    500: '#a7951e',
    950: '#000000',
  },
}
SCSS
$custom: #a7951e;
$custom-light: #c5b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a7951e",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 52.117,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66608,
    "c": 0.1301,
    "h": 100
  },
  "luminance": 0.29804
}

Semantic roles & 50–950 ramp

primary
#A7951E
secondary
#5B69C6
accent
#53EC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A7951E

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

Preview Lab → · Contrast checker → · Palette generator →

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