#A0AF24#A0AF24

#A0AF24 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.8% C 0.154 H 116.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#A0AF24
RGBrgb(160, 175, 36)
HSLhsl(66, 66%, 41%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(8.6%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.21, -22.00, 63.34)
CIE-LCHlch(68.21, 67.05, 109.16°)
OKLaboklab(71.85% -0.0672 0.1381)
OKLCHoklch(71.85% 0.154 116)
XYZxyz(30.1465, 38.2614, 7.4658)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF24 #3324AF
analogous
#AF7924 #A0AF24 #5BAF24
triadic
#A0AF24 #24A0AF #AF24A0
tetradic
#A0AF24 #24AF79 #3324AF #AF245B
square
#A0AF24 #24AF79 #3324AF #AF245B
split-complementary
#A0AF24 #245BAF #7924AF
monochromatic
#43490F #727C1A #A0AF24 #C6D63A #D4E16D

Accessibility & contrast

On white

2.43
#A0AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#A0AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF24
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF24#FFFFFF#000000##000000
##A0AF241.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af24;
/* rgb */ color: rgb(160, 175, 36);
/* oklch */ color: oklch(71.8% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66c',
    500: '#a0af24',
    950: '#000000',
  },
}
SCSS
$custom: #a0af24;
$custom-light: #c0c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af24",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 66.475,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71845,
    "c": 0.15356,
    "h": 116
  },
  "luminance": 0.38261
}

Semantic roles & 50–950 ramp

primary
#A0AF24
secondary
#7268C7
accent
#3FE951
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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