#A9A42B#A9A42B

#A9A42B is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.136 H 107.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A9A42B
RGBrgb(169, 164, 43)
HSLhsl(58, 59%, 42%)
HSVhsv(58, 75%, 66%)
CMYKcmyk(0%, 3%, 74.6%, 33.7%)
CIE-LABlab(65.87, -12.19, 59.22)
CIE-LCHlch(65.87, 60.46, 101.63°)
OKLaboklab(70.16% -0.0399 0.1303)
OKLCHoklch(70.16% 0.136 107)
XYZxyz(30.0749, 35.1614, 7.4876)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A42B #2B30A9
analogous
#A9652B #A9A42B #6FA92B
triadic
#A9A42B #2BA9A4 #A42BA9
tetradic
#A9A42B #2BA965 #2B30A9 #A92B6F
square
#A9A42B #2BA965 #2B30A9 #A92B6F
split-complementary
#A9A42B #2B6FA9 #652BA9
monochromatic
#474512 #78751F #A9A42B #CFC942 #DBD773

Accessibility & contrast

On white

2.61
#A9A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A9A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A42B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A42B#FFFFFF#000000##000000
##A9A42B1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E12
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a9a42b;
/* rgb */ color: rgb(169, 164, 43);
/* oklch */ color: oklch(70.2% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#c6be6e',
    500: '#a9a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a9a42b;
$custom-light: #c6be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a42b",
  "rgb": {
    "r": 169,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 57.619,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70163,
    "c": 0.13622,
    "h": 107
  },
  "luminance": 0.3516
}

Semantic roles & 50–950 ramp

primary
#A9A42B
secondary
#6D70C3
accent
#4BE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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