#A5AD2F#A5AD2F

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

Color values

HEX#A5AD2F
RGBrgb(165, 173, 47)
HSLhsl(64, 57%, 43%)
HSVhsv(64, 73%, 68%)
CMYKcmyk(4.6%, 0%, 72.8%, 32.2%)
CIE-LABlab(68.09, -18.37, 59.81)
CIE-LCHlch(68.09, 62.56, 107.08°)
OKLaboklab(71.86% -0.0565 0.1324)
OKLCHoklch(71.86% 0.144 113.1)
XYZxyz(30.9747, 38.0924, 8.4097)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AD2F #372FAD
analogous
#AD762F #A5AD2F #66AD2F
triadic
#A5AD2F #2FA5AD #AD2FA5
tetradic
#A5AD2F #2FAD76 #372FAD #AD2F66
square
#A5AD2F #2FAD76 #372FAD #AD2F66
split-complementary
#A5AD2F #2F66AD #762FAD
monochromatic
#494D15 #777D22 #A5AD2F #C6CE4B #D5DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AD2F#FFFFFF#000000##000000
##A5AD2F1.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)
#BAA517
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#B0A295
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a5ad2f;
/* rgb */ color: rgb(165, 173, 47);
/* oklch */ color: oklch(71.9% 0.144 113.1);
Tailwind
colors: {
  custom: {
    50: '#c3c571',
    500: '#a5ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5ad2f;
$custom-light: #c3c571;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ad2f",
  "rgb": {
    "r": 165,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 63.81,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7186,
    "c": 0.14392,
    "h": 113.1
  },
  "luminance": 0.38092
}

Semantic roles & 50–950 ramp

primary
#A5AD2F
secondary
#7974C4
accent
#47E151
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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