#A5AD2C#A5AD2C

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

Color values

HEX#A5AD2C
RGBrgb(165, 173, 44)
HSLhsl(64, 59%, 43%)
HSVhsv(64, 75%, 68%)
CMYKcmyk(4.6%, 0%, 74.6%, 32.2%)
CIE-LABlab(68.07, -18.51, 60.83)
CIE-LCHlch(68.07, 63.58, 106.93°)
OKLaboklab(71.84% -0.0572 0.134)
OKLCHoklch(71.84% 0.146 113.1)
XYZxyz(30.9162, 38.0690, 8.1018)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AD2C #342CAD
analogous
#AD752C #A5AD2C #64AD2C
triadic
#A5AD2C #2CA5AD #AD2CA5
tetradic
#A5AD2C #2CAD75 #342CAD #AD2C64
square
#A5AD2C #2CAD75 #342CAD #AD2C64
split-complementary
#A5AD2C #2C64AD #752CAD
monochromatic
#484B13 #767C20 #A5AD2C #C7D046 #D6DC77

Accessibility & contrast

On white

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

On black

8.61
#A5AD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AD2C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AD2C#FFFFFF#000000##000000
##A5AD2C1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5ad2c;
/* rgb */ color: rgb(165, 173, 44);
/* oklch */ color: oklch(71.8% 0.146 113.1);
Tailwind
colors: {
  custom: {
    50: '#c3c56f',
    500: '#a5ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #a5ad2c;
$custom-light: #c3c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ad2c",
  "rgb": {
    "r": 165,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 63.721,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.14568,
    "h": 113.1
  },
  "luminance": 0.38068
}

Semantic roles & 50–950 ramp

primary
#A5AD2C
secondary
#7671C4
accent
#45E34F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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