#A79E2C#A79E2C

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

Color values

HEX#A79E2C
RGBrgb(167, 158, 44)
HSLhsl(56, 58%, 41%)
HSVhsv(56, 74%, 65%)
CMYKcmyk(0%, 5.4%, 73.7%, 34.5%)
CIE-LABlab(64.04, -9.88, 57.07)
CIE-LCHlch(64.04, 57.91, 99.82°)
OKLaboklab(68.66% -0.0332 0.1259)
OKLCHoklch(68.66% 0.13 104.8)
XYZxyz(28.6190, 32.8522, 7.2160)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E2C #2C35A7
analogous
#A7612C #A79E2C #73A72C
triadic
#A79E2C #2CA79E #9E2CA7
tetradic
#A79E2C #2CA761 #2C35A7 #A72C73
square
#A79E2C #2CA761 #2C35A7 #A72C73
split-complementary
#A79E2C #2C73A7 #612CA7
monochromatic
#464212 #77701F #A79E2C #CDC343 #DAD373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79E2C#FFFFFF#000000##000000
##A79E2C1.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)
#AC9817
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#B49388
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e2c;
/* rgb */ color: rgb(167, 158, 44);
/* oklch */ color: oklch(68.7% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#c5ba6e',
    500: '#a79e2c',
    950: '#000000',
  },
}
SCSS
$custom: #a79e2c;
$custom-light: #c5ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e2c",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 55.61,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68662,
    "c": 0.13023,
    "h": 104.8
  },
  "luminance": 0.32851
}

Semantic roles & 50–950 ramp

primary
#A79E2C
secondary
#6D73C2
accent
#52E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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