#A5A42B#A5A42B

#A5A42B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.137 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A42B
RGBrgb(165, 164, 43)
HSLhsl(60, 59%, 41%)
HSVhsv(60, 74%, 65%)
CMYKcmyk(0%, 0.6%, 73.9%, 35.3%)
CIE-LABlab(65.53, -13.95, 58.78)
CIE-LCHlch(65.53, 60.41, 103.35°)
OKLaboklab(69.81% -0.0446 0.1295)
OKLCHoklch(69.81% 0.137 109)
XYZxyz(29.2296, 34.7256, 7.4480)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A42B #2B2CA5
analogous
#A5672B #A5A42B #69A52B
triadic
#A5A42B #2BA5A4 #A42BA5
tetradic
#A5A42B #2BA567 #2B2CA5 #A52B69
square
#A5A42B #2BA567 #2B2CA5 #A52B69
split-complementary
#A5A42B #2B69A5 #672BA5
monochromatic
#444312 #74741E #A5A42B #CDCC40 #DAD971

Accessibility & contrast

On white

2.64
#A5A42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A5A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A42B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A42B#FFFFFF#000000##000000
##A5A42B1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D12
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a42b;
/* rgb */ color: rgb(165, 164, 43);
/* oklch */ color: oklch(69.8% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c3be6e',
    500: '#a5a42b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a42b;
$custom-light: #c3be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a42b",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 59.508,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6981,
    "c": 0.13693,
    "h": 109
  },
  "luminance": 0.34725
}

Semantic roles & 50–950 ramp

primary
#A5A42B
secondary
#6B6BC1
accent
#47E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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