#A5A727#A5A727

#A5A727 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.142 H 110.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A5A727
RGBrgb(165, 167, 39)
HSLhsl(61, 62%, 40%)
HSVhsv(61, 77%, 65%)
CMYKcmyk(1.2%, 0%, 76.6%, 34.5%)
CIE-LABlab(66.35, -15.67, 60.89)
CIE-LCHlch(66.35, 62.87, 104.43°)
OKLaboklab(70.46% -0.0497 0.1332)
OKLCHoklch(70.46% 0.142 110.5)
XYZxyz(29.7030, 35.7841, 7.2614)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A727 #2927A7
analogous
#A76927 #A5A727 #65A727
triadic
#A5A727 #27A5A7 #A727A5
tetradic
#A5A727 #27A769 #2927A7 #A72765
square
#A5A727 #27A769 #2927A7 #A72765
split-complementary
#A5A727 #2765A7 #6927A7
monochromatic
#434410 #74751B #A5A727 #CFD13A #DBDD6C

Accessibility & contrast

On white

2.57
#A5A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A5A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A727
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A727#FFFFFF#000000##000000
##A5A7271.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F04
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a727;
/* rgb */ color: rgb(165, 167, 39);
/* oklch */ color: oklch(70.5% 0.142 110.5);
Tailwind
colors: {
  custom: {
    50: '#c3c06c',
    500: '#a5a727',
    950: '#000000',
  },
}
SCSS
$custom: #a5a727;
$custom-light: #c3c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a727",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 60.938,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70458,
    "c": 0.14217,
    "h": 110.5
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#A5A727
secondary
#6867C3
accent
#43E545
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A727

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

Preview Lab → · Contrast checker → · Palette generator →

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