#A79F2D#A79F2D

#A79F2D is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.131 H 105.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A79F2D
RGBrgb(167, 159, 45)
HSLhsl(56, 58%, 42%)
HSVhsv(56, 73%, 65%)
CMYKcmyk(0%, 4.8%, 73.1%, 34.5%)
CIE-LABlab(64.32, -10.36, 56.97)
CIE-LCHlch(64.32, 57.90, 100.30°)
OKLaboklab(68.89% -0.0344 0.1259)
OKLCHoklch(68.89% 0.131 105.3)
XYZxyz(28.8093, 33.2023, 7.3733)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F2D #2D35A7
analogous
#A7622D #A79F2D #72A72D
triadic
#A79F2D #2DA79F #9F2DA7
tetradic
#A79F2D #2DA762 #2D35A7 #A72D72
square
#A79F2D #2DA762 #2D35A7 #A72D72
split-complementary
#A79F2D #2D72A7 #622DA7
monochromatic
#474313 #777120 #A79F2D #CDC444 #DAD375

Accessibility & contrast

On white

2.75
#A79F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A79F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F2D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F2D#FFFFFF#000000##000000
##A79F2D1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9918
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#B49489
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f2d;
/* rgb */ color: rgb(167, 159, 45);
/* oklch */ color: oklch(68.9% 0.131 105.3);
Tailwind
colors: {
  custom: {
    50: '#c5bb6e',
    500: '#a79f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a79f2d;
$custom-light: #c5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f2d",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 56.066,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6889,
    "c": 0.13055,
    "h": 105.3
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#A79F2D
secondary
#6E74C1
accent
#51E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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