#A5AD2D#A5AD2D

#A5AD2D is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.145 H 113.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A5AD2D
RGBrgb(165, 173, 45)
HSLhsl(64, 59%, 43%)
HSVhsv(64, 74%, 68%)
CMYKcmyk(4.6%, 0%, 74%, 32.2%)
CIE-LABlab(68.08, -18.47, 60.49)
CIE-LCHlch(68.08, 63.25, 106.98°)
OKLaboklab(71.85% -0.057 0.1335)
OKLCHoklch(71.85% 0.145 113.1)
XYZxyz(30.9352, 38.0766, 8.2020)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AD2D #352DAD
analogous
#AD752D #A5AD2D #65AD2D
triadic
#A5AD2D #2DA5AD #AD2DA5
tetradic
#A5AD2D #2DAD75 #352DAD #AD2D65
square
#A5AD2D #2DAD75 #352DAD #AD2D65
split-complementary
#A5AD2D #2D65AD #752DAD
monochromatic
#484C14 #777C20 #A5AD2D #C7CF48 #D6DC78

Accessibility & contrast

On white

2.44
#A5AD2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#A5AD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AD2D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AD2D#FFFFFF#000000##000000
##A5AD2D1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA512
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#B0A295
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a5ad2d;
/* rgb */ color: rgb(165, 173, 45);
/* oklch */ color: oklch(71.8% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#c3c570',
    500: '#a5ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ad2d;
$custom-light: #c3c570;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ad2d",
  "rgb": {
    "r": 165,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 63.75,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71847,
    "c": 0.14511,
    "h": 113.1
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

primary
#A5AD2D
secondary
#7772C4
accent
#46E250
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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