#A5AE3E#A5AE3E

#A5AE3E 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#A5AE3E
RGBrgb(165, 174, 62)
HSLhsl(65, 47%, 46%)
HSVhsv(65, 64%, 68%)
CMYKcmyk(5.2%, 0%, 64.4%, 31.8%)
CIE-LABlab(68.47, -18.02, 54.37)
CIE-LCHlch(68.47, 57.28, 108.33°)
OKLaboklab(72.2% -0.0541 0.1234)
OKLCHoklch(72.2% 0.135 113.7)
XYZxyz(31.5234, 38.6198, 10.3503)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE3E #473EAE
analogous
#AE7F3E #A5AE3E #6DAE3E
triadic
#A5AE3E #3EA5AE #AE3EA5
tetradic
#A5AE3E #3EAE7F #473EAE #AE3E6D
square
#A5AE3E #3EAE7F #473EAE #AE3E6D
split-complementary
#A5AE3E #3E6DAE #7F3EAE
monochromatic
#4F541E #7A812E #A5AE3E #BFC762 #D1D78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AE3E#FFFFFF#000000##000000
##A5AE3E1.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)
#BAA62F
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#AFA497
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae3e;
/* rgb */ color: rgb(165, 174, 62);
/* oklch */ color: oklch(72.2% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#c2c679',
    500: '#a5ae3e',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae3e;
$custom-light: #c2c679;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae3e",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 64.821,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.13469,
    "h": 113.7
  },
  "luminance": 0.38619
}

Semantic roles & 50–950 ramp

primary
#A5AE3E
secondary
#8B86C2
accent
#51D75C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5AE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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