#A5A623#A5A623

#A5A623 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.143 H 110.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A5A623
RGBrgb(165, 166, 35)
HSLhsl(60, 65%, 39%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0.6%, 0%, 78.9%, 34.9%)
CIE-LABlab(66.05, -15.31, 61.85)
CIE-LCHlch(66.05, 63.72, 103.91°)
OKLaboklab(70.21% -0.0491 0.1345)
OKLCHoklch(70.21% 0.143 110)
XYZxyz(29.4577, 35.3940, 6.8698)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A623 #2423A6
analogous
#A66623 #A5A623 #64A623
triadic
#A5A623 #23A5A6 #A623A5
tetradic
#A5A623 #23A666 #2423A6 #A62364
square
#A5A623 #23A666 #2423A6 #A62364
split-complementary
#A5A623 #2364A6 #6623A6
monochromatic
#41410E #737318 #A5A623 #D3D432 #DEDF65

Accessibility & contrast

On white

2.60
#A5A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A5A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A623
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A623#FFFFFF#000000##000000
##A5A6231.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a623;
/* rgb */ color: rgb(165, 166, 35);
/* oklch */ color: oklch(70.2% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c3c06a',
    500: '#a5a623',
    950: '#000000',
  },
}
SCSS
$custom: #a5a623;
$custom-light: #c3c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a623",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 60.458,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70212,
    "c": 0.14318,
    "h": 110
  },
  "luminance": 0.35393
}

Semantic roles & 50–950 ramp

primary
#A5A623
secondary
#6261C4
accent
#40E841
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A623

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

Preview Lab → · Contrast checker → · Palette generator →

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