#A5A827#A5A827

#A5A827 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.143 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A5A827
RGBrgb(165, 168, 39)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 77%, 66%)
CMYKcmyk(1.8%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.64, -16.18, 61.14)
CIE-LCHlch(66.64, 63.25, 104.83°)
OKLaboklab(70.68% -0.0512 0.1337)
OKLCHoklch(70.68% 0.143 110.9)
XYZxyz(29.8869, 36.1519, 7.3227)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A827 #2A27A8
analogous
#A86A27 #A5A827 #65A827
triadic
#A5A827 #27A5A8 #A827A5
tetradic
#A5A827 #27A86A #2A27A8 #A82765
square
#A5A827 #27A86A #2A27A8 #A82765
split-complementary
#A5A827 #2765A8 #6A27A8
monochromatic
#434510 #74761B #A5A827 #CED13B #DADD6C

Accessibility & contrast

On white

2.55
#A5A827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A5A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A827
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A827#FFFFFF#000000##000000
##A5A8271.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A003
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a827;
/* rgb */ color: rgb(165, 168, 39);
/* oklch */ color: oklch(70.7% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#c3c16c',
    500: '#a5a827',
    950: '#000000',
  },
}
SCSS
$custom: #a5a827;
$custom-light: #c3c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a827",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 61.395,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70683,
    "c": 0.14319,
    "h": 110.9
  },
  "luminance": 0.36151
}

Semantic roles & 50–950 ramp

primary
#A5A827
secondary
#6967C3
accent
#42E546
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A827

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

Preview Lab → · Contrast checker → · Palette generator →

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