#A79E2B#A79E2B

#A79E2B is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.7% C 0.131 H 104.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A79E2B
RGBrgb(167, 158, 43)
HSLhsl(56, 59%, 41%)
HSVhsv(56, 74%, 65%)
CMYKcmyk(0%, 5.4%, 74.3%, 34.5%)
CIE-LABlab(64.03, -9.92, 57.42)
CIE-LCHlch(64.03, 58.27, 99.81°)
OKLaboklab(68.66% -0.0334 0.1265)
OKLCHoklch(68.66% 0.131 104.8)
XYZxyz(28.6005, 32.8447, 7.1182)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E2B #2B34A7
analogous
#A7602B #A79E2B #72A72B
triadic
#A79E2B #2BA79E #9E2BA7
tetradic
#A79E2B #2BA760 #2B34A7 #A72B72
square
#A79E2B #2BA760 #2B34A7 #A72B72
split-complementary
#A79E2B #2B72A7 #602BA7
monochromatic
#464212 #76701E #A79E2B #CEC441 #DBD372

Accessibility & contrast

On white

2.77
#A79E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A79E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79E2B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79E2B#FFFFFF#000000##000000
##A79E2B1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#B49388
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e2b;
/* rgb */ color: rgb(167, 158, 43);
/* oklch */ color: oklch(68.7% 0.131 104.8);
Tailwind
colors: {
  custom: {
    50: '#c5ba6d',
    500: '#a79e2b',
    950: '#000000',
  },
}
SCSS
$custom: #a79e2b;
$custom-light: #c5ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e2b",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 55.645,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.13084,
    "h": 104.8
  },
  "luminance": 0.32844
}

Semantic roles & 50–950 ramp

primary
#A79E2B
secondary
#6C72C2
accent
#51E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A79E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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