#A0AF2A#A0AF2A

#A0AF2A 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#A0AF2A
RGBrgb(160, 175, 42)
HSLhsl(67, 61%, 43%)
HSVhsv(67, 76%, 69%)
CMYKcmyk(8.6%, 0%, 76%, 31.4%)
CIE-LABlab(68.24, -21.75, 61.51)
CIE-LCHlch(68.24, 65.25, 109.47°)
OKLaboklab(71.88% -0.0661 0.1353)
OKLCHoklch(71.88% 0.151 116)
XYZxyz(30.2459, 38.3012, 7.9896)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF2A #392AAF
analogous
#AF7C2A #A0AF2A #5DAF2A
triadic
#A0AF2A #2AA0AF #AF2AA0
tetradic
#A0AF2A #2AAF7C #392AAF #AF2A5D
square
#A0AF2A #2AAF7C #392AAF #AF2A5D
split-complementary
#A0AF2A #2A5DAF #7C2AAF
monochromatic
#464C12 #737E1E #A0AF2A #C2D244 #D2DE75

Accessibility & contrast

On white

2.42
#A0AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF2A#FFFFFF#000000##000000
##A0AF2A1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0af2a;
/* rgb */ color: rgb(160, 175, 42);
/* oklch */ color: oklch(71.9% 0.151 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66e',
    500: '#a0af2a',
    950: '#000000',
  },
}
SCSS
$custom: #a0af2a;
$custom-light: #c0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af2a",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 66.767,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.15053,
    "h": 116
  },
  "luminance": 0.38301
}

Semantic roles & 50–950 ramp

primary
#A0AF2A
secondary
#796FC6
accent
#43E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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