#A5A726#A5A726

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

Color values

HEX#A5A726
RGBrgb(165, 167, 38)
HSLhsl(61, 63%, 40%)
HSVhsv(61, 77%, 65%)
CMYKcmyk(1.2%, 0%, 77.2%, 34.5%)
CIE-LABlab(66.35, -15.71, 61.20)
CIE-LCHlch(66.35, 63.18, 104.40°)
OKLaboklab(70.45% -0.0499 0.1337)
OKLCHoklch(70.45% 0.143 110.5)
XYZxyz(29.6867, 35.7776, 7.1753)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A726 #2826A7
analogous
#A76826 #A5A726 #65A726
triadic
#A5A726 #26A5A7 #A726A5
tetradic
#A5A726 #26A768 #2826A7 #A72665
square
#A5A726 #26A768 #2826A7 #A72665
split-complementary
#A5A726 #2665A7 #6826A7
monochromatic
#42430F #74751B #A5A726 #CFD238 #DBDD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A726#FFFFFF#000000##000000
##A5A7261.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)
#B59F01
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a726;
/* rgb */ color: rgb(165, 167, 38);
/* oklch */ color: oklch(70.5% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#c3c06c',
    500: '#a5a726',
    950: '#000000',
  },
}
SCSS
$custom: #a5a726;
$custom-light: #c3c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a726",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 60.93,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.14269,
    "h": 110.5
  },
  "luminance": 0.35777
}

Semantic roles & 50–950 ramp

primary
#A5A726
secondary
#6765C3
accent
#42E644
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A726

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

Preview Lab → · Contrast checker → · Palette generator →

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