#A0AF29#A0AF29

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

Color values

HEX#A0AF29
RGBrgb(160, 175, 41)
HSLhsl(67, 62%, 42%)
HSVhsv(67, 77%, 69%)
CMYKcmyk(8.6%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.24, -21.80, 61.83)
CIE-LCHlch(68.24, 65.56, 109.42°)
OKLaboklab(71.87% -0.0663 0.1357)
OKLCHoklch(71.87% 0.151 116)
XYZxyz(30.2282, 38.2941, 7.8965)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF29 #3829AF
analogous
#AF7B29 #A0AF29 #5DAF29
triadic
#A0AF29 #29A0AF #AF29A0
tetradic
#A0AF29 #29AF7B #3829AF #AF295D
square
#A0AF29 #29AF7B #3829AF #AF295D
split-complementary
#A0AF29 #295DAF #7B29AF
monochromatic
#454C12 #737D1D #A0AF29 #C3D342 #D3DE74

Accessibility & contrast

On white

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

On black

8.66
#A0AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF29
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF29#FFFFFF#000000##000000
##A0AF291.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#AAA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af29;
/* rgb */ color: rgb(160, 175, 41);
/* oklch */ color: oklch(71.9% 0.151 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66e',
    500: '#a0af29',
    950: '#000000',
  },
}
SCSS
$custom: #a0af29;
$custom-light: #c0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af29",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 66.716,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.15106,
    "h": 116
  },
  "luminance": 0.38294
}

Semantic roles & 50–950 ramp

primary
#A0AF29
secondary
#786EC6
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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