#A79726#A79726

#A79726 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.1% C 0.128 H 100.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A79726
RGBrgb(167, 151, 38)
HSLhsl(53, 63%, 40%)
HSVhsv(53, 77%, 65%)
CMYKcmyk(0%, 9.6%, 77.2%, 34.5%)
CIE-LABlab(62.07, -6.41, 57.35)
CIE-LCHlch(62.07, 57.71, 96.38°)
OKLaboklab(67.09% -0.024 0.1254)
OKLCHoklch(67.09% 0.128 100.8)
XYZxyz(27.3541, 30.4899, 6.2777)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79726 #2636A7
analogous
#A75626 #A79726 #77A726
triadic
#A79726 #26A797 #9726A7
tetradic
#A79726 #26A756 #2636A7 #A72677
square
#A79726 #26A756 #2636A7 #A72677
split-complementary
#A79726 #2677A7 #5626A7
monochromatic
#433D0F #756A1B #A79726 #D2BF38 #DDCF6A

Accessibility & contrast

On white

2.96
#A79726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A79726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79726
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79726#FFFFFF#000000##000000
##A797261.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79726;
/* rgb */ color: rgb(167, 151, 38);
/* oklch */ color: oklch(67.1% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#c5b56a',
    500: '#a79726',
    950: '#000000',
  },
}
SCSS
$custom: #a79726;
$custom-light: #c5b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79726",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 52.558,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67088,
    "c": 0.12765,
    "h": 100.8
  },
  "luminance": 0.30489
}

Semantic roles & 50–950 ramp

primary
#A79726
secondary
#6571C3
accent
#56E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79726

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

Preview Lab → · Contrast checker → · Palette generator →

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