#A79128#A79128

#A79128 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.8% C 0.122 H 96.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A79128
RGBrgb(167, 145, 40)
HSLhsl(50, 61%, 41%)
HSVhsv(50, 76%, 65%)
CMYKcmyk(0%, 13.2%, 76%, 34.5%)
CIE-LABlab(60.45, -3.09, 55.11)
CIE-LCHlch(60.45, 55.20, 93.20°)
OKLaboklab(65.8% -0.0144 0.121)
OKLCHoklch(65.8% 0.122 96.8)
XYZxyz(26.4461, 28.6209, 6.1385)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79128 #283EA7
analogous
#A75128 #A79128 #7EA728
triadic
#A79128 #28A791 #9128A7
tetradic
#A79128 #28A751 #283EA7 #A7287E
square
#A79128 #28A751 #283EA7 #A7287E
split-complementary
#A79128 #287EA7 #5128A7
monochromatic
#443B10 #76661C #A79128 #D0B73C #DCC96D

Accessibility & contrast

On white

3.12
#A79128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A79128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79128
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79128#FFFFFF#000000##000000
##A791281.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E14
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#B5857D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a79128;
/* rgb */ color: rgb(167, 145, 40);
/* oklch */ color: oklch(65.8% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#c5b06a',
    500: '#a79128',
    950: '#000000',
  },
}
SCSS
$custom: #a79128;
$custom-light: #c5b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a79128",
  "rgb": {
    "r": 167,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 49.606,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.658,
    "c": 0.12187,
    "h": 96.8
  },
  "luminance": 0.28619
}

Semantic roles & 50–950 ramp

primary
#A79128
secondary
#6878C3
accent
#5FE443
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A79128

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

Preview Lab → · Contrast checker → · Palette generator →

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