#A5A02B#A5A02B

#A5A02B is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.133 H 106.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A5A02B
RGBrgb(165, 160, 43)
HSLhsl(58, 59%, 41%)
HSVhsv(58, 74%, 65%)
CMYKcmyk(0%, 3%, 73.9%, 35.3%)
CIE-LABlab(64.42, -11.86, 57.72)
CIE-LCHlch(64.42, 58.93, 101.61°)
OKLaboklab(68.92% -0.0387 0.1272)
OKLCHoklch(68.92% 0.133 106.9)
XYZxyz(28.5250, 33.3164, 7.2132)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A02B #2B30A5
analogous
#A5632B #A5A02B #6DA52B
triadic
#A5A02B #2BA5A0 #A02BA5
tetradic
#A5A02B #2BA563 #2B30A5 #A52B6D
square
#A5A02B #2BA563 #2B30A5 #A52B6D
split-complementary
#A5A02B #2B6DA5 #632BA5
monochromatic
#444212 #74711E #A5A02B #CDC740 #DAD671

Accessibility & contrast

On white

2.74
#A5A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A5A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A02B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A02B#FFFFFF#000000##000000
##A5A02B1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a02b;
/* rgb */ color: rgb(165, 160, 43);
/* oklch */ color: oklch(68.9% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#c3bb6d',
    500: '#a5a02b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a02b;
$custom-light: #c3bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a02b",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 57.541,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.13298,
    "h": 106.9
  },
  "luminance": 0.33315
}

Semantic roles & 50–950 ramp

primary
#A5A02B
secondary
#6B6EC1
accent
#4CE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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