#A79D2F#A79D2F

#A79D2F is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.127 H 104.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A79D2F
RGBrgb(167, 157, 47)
HSLhsl(55, 56%, 42%)
HSVhsv(55, 72%, 65%)
CMYKcmyk(0%, 6%, 71.9%, 34.5%)
CIE-LABlab(63.78, -9.20, 55.69)
CIE-LCHlch(63.78, 56.45, 99.38°)
OKLaboklab(68.46% -0.0309 0.1236)
OKLCHoklch(68.46% 0.127 104.1)
XYZxyz(28.5076, 32.5358, 7.4672)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D2F #2F39A7
analogous
#A7612F #A79D2F #75A72F
triadic
#A79D2F #2FA79D #9D2FA7
tetradic
#A79D2F #2FA761 #2F39A7 #A72F75
square
#A79D2F #2FA761 #2F39A7 #A72F75
split-complementary
#A79D2F #2F75A7 #612FA7
monochromatic
#474314 #777022 #A79D2F #CBC048 #D9D178

Accessibility & contrast

On white

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

On black

7.51
#A79D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D2F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D2F#FFFFFF#000000##000000
##A79D2F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a79d2f;
/* rgb */ color: rgb(167, 157, 47);
/* oklch */ color: oklch(68.5% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#c5b96f',
    500: '#a79d2f',
    950: '#000000',
  },
}
SCSS
$custom: #a79d2f;
$custom-light: #c5b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d2f",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 55,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68463,
    "c": 0.12742,
    "h": 104.1
  },
  "luminance": 0.32535
}

Semantic roles & 50–950 ramp

primary
#A79D2F
secondary
#7178C1
accent
#55DF48
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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