#A5AF33#A5AF33

#A5AF33 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.144 H 114.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A5AF33
RGBrgb(165, 175, 51)
HSLhsl(65, 55%, 44%)
HSVhsv(65, 71%, 69%)
CMYKcmyk(5.7%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.68, -19.18, 58.93)
CIE-LCHlch(68.68, 61.97, 108.03°)
OKLaboklab(72.34% -0.0584 0.1312)
OKLCHoklch(72.34% 0.144 114)
XYZxyz(31.4455, 38.8989, 8.9831)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF33 #3D33AF
analogous
#AF7B33 #A5AF33 #67AF33
triadic
#A5AF33 #33A5AF #AF33A5
tetradic
#A5AF33 #33AF7B #3D33AF #AF3367
square
#A5AF33 #33AF7B #3D33AF #AF3367
split-complementary
#A5AF33 #3367AF #7B33AF
monochromatic
#4C5017 #788025 #A5AF33 #C3CD52 #D3DB82

Accessibility & contrast

On white

2.39
#A5AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A5AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF33
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF33#FFFFFF#000000##000000
##A5AF331.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61E
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af33;
/* rgb */ color: rgb(165, 175, 51);
/* oklch */ color: oklch(72.3% 0.144 114.0);
Tailwind
colors: {
  custom: {
    50: '#c3c673',
    500: '#a5af33',
    950: '#000000',
  },
}
SCSS
$custom: #a5af33;
$custom-light: #c3c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af33",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 64.839,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.14361,
    "h": 114
  },
  "luminance": 0.38898
}

Semantic roles & 50–950 ramp

primary
#A5AF33
secondary
#807AC4
accent
#4ADE56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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