#A0AF25#A0AF25

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

Color values

HEX#A0AF25
RGBrgb(160, 175, 37)
HSLhsl(67, 65%, 42%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(8.6%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.22, -21.96, 63.05)
CIE-LCHlch(68.22, 66.76, 109.21°)
OKLaboklab(71.85% -0.0671 0.1376)
OKLCHoklch(71.85% 0.153 116)
XYZxyz(30.1619, 38.2676, 7.5474)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF25 #3425AF
analogous
#AF7925 #A0AF25 #5BAF25
triadic
#A0AF25 #25A0AF #AF25A0
tetradic
#A0AF25 #25AF79 #3425AF #AF255B
square
#A0AF25 #25AF79 #3425AF #AF255B
split-complementary
#A0AF25 #255BAF #7925AF
monochromatic
#444A10 #727C1A #A0AF25 #C5D63C #D4E06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF25#FFFFFF#000000##000000
##A0AF251.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)
#BAA732
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af25;
/* rgb */ color: rgb(160, 175, 37);
/* oklch */ color: oklch(71.9% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66c',
    500: '#a0af25',
    950: '#000000',
  },
}
SCSS
$custom: #a0af25;
$custom-light: #c0c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af25",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 66.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7185,
    "c": 0.15309,
    "h": 116
  },
  "luminance": 0.38267
}

Semantic roles & 50–950 ramp

primary
#A0AF25
secondary
#7369C7
accent
#40E852
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A0AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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