#A79226#A79226

#A79226 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.0% C 0.124 H 97.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A79226
RGBrgb(167, 146, 38)
HSLhsl(50, 63%, 40%)
HSVhsv(50, 77%, 65%)
CMYKcmyk(0%, 12.6%, 77.2%, 34.5%)
CIE-LABlab(60.71, -3.71, 56.08)
CIE-LCHlch(60.71, 56.20, 93.79°)
OKLaboklab(66% -0.0164 0.1227)
OKLCHoklch(66% 0.124 97.6)
XYZxyz(26.5665, 28.9146, 6.0151)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79226 #263BA7
analogous
#A75226 #A79226 #7BA726
triadic
#A79226 #26A792 #9226A7
tetradic
#A79226 #26A752 #263BA7 #A7267B
square
#A79226 #26A752 #263BA7 #A7267B
split-complementary
#A79226 #267BA7 #5226A7
monochromatic
#433B0F #75661B #A79226 #D2B938 #DDCA6A

Accessibility & contrast

On white

3.10
#A79226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A79226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79226
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79226#FFFFFF#000000##000000
##A792261.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A7952D
Tritanopia (blue-blind)
#B5867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79226;
/* rgb */ color: rgb(167, 146, 38);
/* oklch */ color: oklch(66.0% 0.124 97.6);
Tailwind
colors: {
  custom: {
    50: '#c5b169',
    500: '#a79226',
    950: '#000000',
  },
}
SCSS
$custom: #a79226;
$custom-light: #c5b169;
$custom-dark: #000000;
JSON
{
  "hex": "#a79226",
  "rgb": {
    "r": 167,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 50.233,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66003,
    "c": 0.12376,
    "h": 97.6
  },
  "luminance": 0.28913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A79226

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

Preview Lab → · Contrast checker → · Palette generator →

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