#A79231#A79231

#A79231 is a light, moderate yellow. Relative luminance 0.290; OKLCH L 66.1% C 0.117 H 96.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A79231
RGBrgb(167, 146, 49)
HSLhsl(49, 55%, 42%)
HSVhsv(49, 71%, 65%)
CMYKcmyk(0%, 12.6%, 70.7%, 34.5%)
CIE-LABlab(60.78, -3.19, 51.91)
CIE-LCHlch(60.78, 52.01, 93.52°)
OKLaboklab(66.08% -0.0137 0.116)
OKLCHoklch(66.08% 0.117 96.7)
XYZxyz(26.7709, 28.9964, 7.0919)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79231 #3146A7
analogous
#A75731 #A79231 #81A731
triadic
#A79231 #31A792 #9231A7
tetradic
#A79231 #31A757 #3146A7 #A73181
square
#A79231 #31A757 #3146A7 #A73181
split-complementary
#A79231 #3181A7 #5731A7
monochromatic
#483F15 #786923 #A79231 #CAB44B #D8C77A

Accessibility & contrast

On white

3.09
#A79231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A79231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79231
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79231#FFFFFF#000000##000000
##A792311.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#B4877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a79231;
/* rgb */ color: rgb(167, 146, 49);
/* oklch */ color: oklch(66.1% 0.117 96.7);
Tailwind
colors: {
  custom: {
    50: '#c5b16f',
    500: '#a79231',
    950: '#000000',
  },
}
SCSS
$custom: #a79231;
$custom-light: #c5b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79231",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 49.322,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.11676,
    "h": 96.7
  },
  "luminance": 0.28995
}

Semantic roles & 50–950 ramp

primary
#A79231
secondary
#7381C1
accent
#64DE4A
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A79231

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

Preview Lab → · Contrast checker → · Palette generator →

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