#A5AE3D#A5AE3D

#A5AE3D is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.135 H 113.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A5AE3D
RGBrgb(165, 174, 61)
HSLhsl(65, 48%, 46%)
HSVhsv(65, 65%, 68%)
CMYKcmyk(5.2%, 0%, 64.9%, 31.8%)
CIE-LABlab(68.47, -18.08, 54.78)
CIE-LCHlch(68.47, 57.69, 108.27°)
OKLaboklab(72.19% -0.0543 0.1241)
OKLCHoklch(72.19% 0.135 113.7)
XYZxyz(31.4962, 38.6090, 10.2071)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE3D #463DAE
analogous
#AE7E3D #A5AE3D #6CAE3D
triadic
#A5AE3D #3DA5AE #AE3DA5
tetradic
#A5AE3D #3DAE7E #463DAE #AE3D6C
square
#A5AE3D #3DAE7E #463DAE #AE3D6C
split-complementary
#A5AE3D #3D6CAE #7E3DAE
monochromatic
#4F531D #7A812D #A5AE3D #BFC861 #D2D78E

Accessibility & contrast

On white

2.41
#A5AE3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A5AE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE3D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE3D#FFFFFF#000000##000000
##A5AE3D1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62E
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#B0A497
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae3d;
/* rgb */ color: rgb(165, 174, 61);
/* oklch */ color: oklch(72.2% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#c2c678',
    500: '#a5ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae3d;
$custom-light: #c2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae3d",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 64.779,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72194,
    "c": 0.13545,
    "h": 113.7
  },
  "luminance": 0.38608
}

Semantic roles & 50–950 ramp

primary
#A5AE3D
secondary
#8985C2
accent
#50D85B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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