#A79E2F#A79E2F

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

Color values

HEX#A79E2F
RGBrgb(167, 158, 47)
HSLhsl(56, 56%, 42%)
HSVhsv(56, 72%, 65%)
CMYKcmyk(0%, 5.4%, 71.9%, 34.5%)
CIE-LABlab(64.06, -9.73, 55.96)
CIE-LCHlch(64.06, 56.80, 99.86°)
OKLaboklab(68.68% -0.0324 0.1242)
OKLCHoklch(68.68% 0.128 104.6)
XYZxyz(28.6775, 32.8756, 7.5238)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E2F #2F38A7
analogous
#A7622F #A79E2F #74A72F
triadic
#A79E2F #2FA79E #9E2FA7
tetradic
#A79E2F #2FA762 #2F38A7 #A72F74
square
#A79E2F #2FA762 #2F38A7 #A72F74
split-complementary
#A79E2F #2F74A7 #622FA7
monochromatic
#474414 #777122 #A79E2F #CBC248 #D9D278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A79E2F#FFFFFF#000000##000000
##A79E2F1.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)
#AC981D
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#B49388
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e2f;
/* rgb */ color: rgb(167, 158, 47);
/* oklch */ color: oklch(68.7% 0.128 104.6);
Tailwind
colors: {
  custom: {
    50: '#c5ba6f',
    500: '#a79e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a79e2f;
$custom-light: #c5ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e2f",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 55.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68684,
    "c": 0.12834,
    "h": 104.6
  },
  "luminance": 0.32874
}

Semantic roles & 50–950 ramp

primary
#A79E2F
secondary
#7177C1
accent
#54DF48
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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