#A79126#A79126

#A79126 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.8% C 0.123 H 96.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A79126
RGBrgb(167, 145, 38)
HSLhsl(50, 63%, 40%)
HSVhsv(50, 77%, 65%)
CMYKcmyk(0%, 13.2%, 77.2%, 34.5%)
CIE-LABlab(60.43, -3.17, 55.83)
CIE-LCHlch(60.43, 55.92, 93.25°)
OKLaboklab(65.79% -0.0148 0.1221)
OKLCHoklch(65.79% 0.123 96.9)
XYZxyz(26.4130, 28.6076, 5.9639)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79126 #263CA7
analogous
#A75026 #A79126 #7DA726
triadic
#A79126 #26A791 #9126A7
tetradic
#A79126 #26A750 #263CA7 #A7267D
square
#A79126 #26A750 #263CA7 #A7267D
split-complementary
#A79126 #267DA7 #5026A7
monochromatic
#433A0F #75661B #A79126 #D2B838 #DDCA6A

Accessibility & contrast

On white

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

On black

6.72
#A79126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79126
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79126#FFFFFF#000000##000000
##A791261.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E10
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#B5857D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79126;
/* rgb */ color: rgb(167, 145, 38);
/* oklch */ color: oklch(65.8% 0.123 96.9);
Tailwind
colors: {
  custom: {
    50: '#c5b069',
    500: '#a79126',
    950: '#000000',
  },
}
SCSS
$custom: #a79126;
$custom-light: #c5b069;
$custom-dark: #000000;
JSON
{
  "hex": "#a79126",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 49.767,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.12303,
    "h": 96.9
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#A79126
secondary
#6575C3
accent
#5EE642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79126

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

Preview Lab → · Contrast checker → · Palette generator →

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