#A5AE2F#A5AE2F

#A5AE2F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.145 H 113.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A5AE2F
RGBrgb(165, 174, 47)
HSLhsl(64, 57%, 43%)
HSVhsv(64, 73%, 68%)
CMYKcmyk(5.2%, 0%, 73%, 31.8%)
CIE-LABlab(68.37, -18.88, 60.08)
CIE-LCHlch(68.37, 62.97, 107.44°)
OKLaboklab(72.09% -0.0579 0.1329)
OKLCHoklch(72.09% 0.145 113.6)
XYZxyz(31.1671, 38.4773, 8.4738)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AE2F #382FAE
analogous
#AE772F #A5AE2F #65AE2F
triadic
#A5AE2F #2FA5AE #AE2FA5
tetradic
#A5AE2F #2FAE77 #382FAE #AE2F65
square
#A5AE2F #2FAE77 #382FAE #AE2F65
split-complementary
#A5AE2F #2F65AE #772FAE
monochromatic
#4A4E15 #777E22 #A5AE2F #C5CF4C #D5DC7C

Accessibility & contrast

On white

2.42
#A5AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A5AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AE2F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AE2F#FFFFFF#000000##000000
##A5AE2F1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B0A396
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5ae2f;
/* rgb */ color: rgb(165, 174, 47);
/* oklch */ color: oklch(72.1% 0.145 113.6);
Tailwind
colors: {
  custom: {
    50: '#c3c671',
    500: '#a5ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5ae2f;
$custom-light: #c3c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ae2f",
  "rgb": {
    "r": 165,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 64.252,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.14501,
    "h": 113.6
  },
  "luminance": 0.38477
}

Semantic roles & 50–950 ramp

primary
#A5AE2F
secondary
#7A75C4
accent
#47E152
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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