#A5AF30#A5AF30

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

Color values

HEX#A5AF30
RGBrgb(165, 175, 48)
HSLhsl(65, 57%, 44%)
HSVhsv(65, 73%, 69%)
CMYKcmyk(5.7%, 0%, 72.6%, 31.4%)
CIE-LABlab(68.66, -19.33, 60.00)
CIE-LCHlch(68.66, 63.04, 107.86°)
OKLaboklab(72.32% -0.0591 0.1329)
OKLCHoklch(72.32% 0.145 114)
XYZxyz(31.3814, 38.8733, 8.6459)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF30 #3A30AF
analogous
#AF7930 #A5AF30 #65AF30
triadic
#A5AF30 #30A5AF #AF30A5
tetradic
#A5AF30 #30AF79 #3A30AF #AF3065
square
#A5AF30 #30AF79 #3A30AF #AF3065
split-complementary
#A5AF30 #3065AF #7930AF
monochromatic
#4A4F16 #787F23 #A5AF30 #C4CE4E #D4DC7E

Accessibility & contrast

On white

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

On black

8.77
#A5AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF30
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF30#FFFFFF#000000##000000
##A5AF301.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#B0A596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af30;
/* rgb */ color: rgb(165, 175, 48);
/* oklch */ color: oklch(72.3% 0.145 114.0);
Tailwind
colors: {
  custom: {
    50: '#c3c671',
    500: '#a5af30',
    950: '#000000',
  },
}
SCSS
$custom: #a5af30;
$custom-light: #c3c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af30",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 64.724,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.14549,
    "h": 114
  },
  "luminance": 0.38873
}

Semantic roles & 50–950 ramp

primary
#A5AF30
secondary
#7D76C4
accent
#48E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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