#A0AF21#A0AF21

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

Color values

HEX#A0AF21
RGBrgb(160, 175, 33)
HSLhsl(66, 68%, 41%)
HSVhsv(66, 81%, 69%)
CMYKcmyk(8.6%, 0%, 81.1%, 31.4%)
CIE-LABlab(68.20, -22.11, 64.17)
CIE-LCHlch(68.20, 67.87, 109.01°)
OKLaboklab(71.83% -0.0678 0.1393)
OKLCHoklch(71.83% 0.155 115.9)
XYZxyz(30.1026, 38.2438, 7.2346)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF21 #3021AF
analogous
#AF7721 #A0AF21 #59AF21
triadic
#A0AF21 #21A0AF #AF21A0
tetradic
#A0AF21 #21AF77 #3021AF #AF2159
square
#A0AF21 #21AF77 #3021AF #AF2159
split-complementary
#A0AF21 #2159AF #7721AF
monochromatic
#42480E #717C17 #A0AF21 #C7D934 #D6E368

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF21#FFFFFF#000000##000000
##A0AF211.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)
#BBA72F
Tritanopia (blue-blind)
#ABA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af21;
/* rgb */ color: rgb(160, 175, 33);
/* oklch */ color: oklch(71.8% 0.155 115.9);
Tailwind
colors: {
  custom: {
    50: '#c0c66b',
    500: '#a0af21',
    950: '#000000',
  },
}
SCSS
$custom: #a0af21;
$custom-light: #c0c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af21",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 66.338,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71831,
    "c": 0.15492,
    "h": 115.9
  },
  "luminance": 0.38243
}

Semantic roles & 50–950 ramp

primary
#A0AF21
secondary
#6E64C8
accent
#3DEB4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0AF21

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

Preview Lab → · Contrast checker → · Palette generator →

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