#A79D2B#A79D2B

#A79D2B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.4% C 0.130 H 104.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A79D2B
RGBrgb(167, 157, 43)
HSLhsl(55, 59%, 41%)
HSVhsv(55, 74%, 65%)
CMYKcmyk(0%, 6%, 74.3%, 34.5%)
CIE-LABlab(63.76, -9.40, 57.16)
CIE-LCHlch(63.76, 57.93, 99.33°)
OKLaboklab(68.44% -0.0319 0.126)
OKLCHoklch(68.44% 0.13 104.2)
XYZxyz(28.4306, 32.5050, 7.0615)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D2B #2B35A7
analogous
#A75F2B #A79D2B #73A72B
triadic
#A79D2B #2BA79D #9D2BA7
tetradic
#A79D2B #2BA75F #2B35A7 #A72B73
square
#A79D2B #2BA75F #2B35A7 #A72B73
split-complementary
#A79D2B #2B73A7 #5F2BA7
monochromatic
#464112 #766F1E #A79D2B #CEC341 #DBD272

Accessibility & contrast

On white

2.80
#A79D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#A79D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D2B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D2B#FFFFFF#000000##000000
##A79D2B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9815
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B49287
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79d2b;
/* rgb */ color: rgb(167, 157, 43);
/* oklch */ color: oklch(68.4% 0.130 104.2);
Tailwind
colors: {
  custom: {
    50: '#c5b96d',
    500: '#a79d2b',
    950: '#000000',
  },
}
SCSS
$custom: #a79d2b;
$custom-light: #c5b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d2b",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 55.161,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68435,
    "c": 0.12993,
    "h": 104.2
  },
  "luminance": 0.32504
}

Semantic roles & 50–950 ramp

primary
#A79D2B
secondary
#6C73C2
accent
#52E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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