#A0AF30#A0AF30

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

Color values

HEX#A0AF30
RGBrgb(160, 175, 48)
HSLhsl(67, 57%, 44%)
HSVhsv(67, 73%, 69%)
CMYKcmyk(8.6%, 0%, 72.6%, 31.4%)
CIE-LABlab(68.28, -21.46, 59.50)
CIE-LCHlch(68.28, 63.25, 109.84°)
OKLaboklab(71.92% -0.0648 0.132)
OKLCHoklch(71.92% 0.147 116.1)
XYZxyz(30.3615, 38.3474, 8.5981)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF30 #3F30AF
analogous
#AF7E30 #A0AF30 #60AF30
triadic
#A0AF30 #30A0AF #AF30A0
tetradic
#A0AF30 #30AF7E #3F30AF #AF3060
square
#A0AF30 #30AF7E #3F30AF #AF3060
split-complementary
#A0AF30 #3060AF #7E30AF
monochromatic
#484F16 #747F23 #A0AF30 #BFCE4E #D0DC7E

Accessibility & contrast

On white

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

On black

8.67
#A0AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AF30
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AF30#FFFFFF#000000##000000
##A0AF301.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0af30;
/* rgb */ color: rgb(160, 175, 48);
/* oklch */ color: oklch(71.9% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc671',
    500: '#a0af30',
    950: '#000000',
  },
}
SCSS
$custom: #a0af30;
$custom-light: #bfc671;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af30",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 67.087,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71916,
    "c": 0.14706,
    "h": 116.1
  },
  "luminance": 0.38347
}

Semantic roles & 50–950 ramp

primary
#A0AF30
secondary
#8076C4
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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