#A5A927#A5A927

#A5A927 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.144 H 111.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A5A927
RGBrgb(165, 169, 39)
HSLhsl(62, 63%, 41%)
HSVhsv(62, 77%, 66%)
CMYKcmyk(2.4%, 0%, 76.9%, 33.7%)
CIE-LABlab(66.92, -16.70, 61.40)
CIE-LCHlch(66.92, 63.63, 105.21°)
OKLaboklab(70.91% -0.0526 0.1343)
OKLCHoklch(70.91% 0.144 111.4)
XYZxyz(30.0723, 36.5225, 7.3845)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A927 #2B27A9
analogous
#A96C27 #A5A927 #64A927
triadic
#A5A927 #27A5A9 #A927A5
tetradic
#A5A927 #27A96C #2B27A9 #A92764
square
#A5A927 #27A96C #2B27A9 #A92764
split-complementary
#A5A927 #2764A9 #6C27A9
monochromatic
#444610 #74771C #A5A927 #CDD23B #DADD6D

Accessibility & contrast

On white

2.53
#A5A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A5A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A927
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A927#FFFFFF#000000##000000
##A5A9271.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A103
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#B19E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a927;
/* rgb */ color: rgb(165, 169, 39);
/* oklch */ color: oklch(70.9% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c26c',
    500: '#a5a927',
    950: '#000000',
  },
}
SCSS
$custom: #a5a927;
$custom-light: #c3c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a927",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 61.846,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70908,
    "c": 0.14421,
    "h": 111.4
  },
  "luminance": 0.36522
}

Semantic roles & 50–950 ramp

primary
#A5A927
secondary
#6B68C4
accent
#42E647
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A927

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

Preview Lab → · Contrast checker → · Palette generator →

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