#A0AF27#A0AF27

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

Color values

HEX#A0AF27
RGBrgb(160, 175, 39)
HSLhsl(67, 64%, 42%)
HSVhsv(67, 78%, 69%)
CMYKcmyk(8.6%, 0%, 77.7%, 31.4%)
CIE-LABlab(68.23, -21.88, 62.45)
CIE-LCHlch(68.23, 66.17, 109.31°)
OKLaboklab(71.86% -0.0667 0.1367)
OKLCHoklch(71.86% 0.152 116)
XYZxyz(30.1942, 38.2805, 7.7173)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF27 #3627AF
analogous
#AF7A27 #A0AF27 #5CAF27
triadic
#A0AF27 #27A0AF #AF27A0
tetradic
#A0AF27 #27AF7A #3627AF #AF275C
square
#A0AF27 #27AF7A #3627AF #AF275C
split-complementary
#A0AF27 #275CAF #7A27AF
monochromatic
#444B11 #727D1C #A0AF27 #C4D43F #D3DF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0AF27#FFFFFF#000000##000000
##A0AF271.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)
#BCA600
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a0af27;
/* rgb */ color: rgb(160, 175, 39);
/* oklch */ color: oklch(71.9% 0.152 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66d',
    500: '#a0af27',
    950: '#000000',
  },
}
SCSS
$custom: #a0af27;
$custom-light: #c0c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af27",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 66.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.1521,
    "h": 116
  },
  "luminance": 0.3828
}

Semantic roles & 50–950 ramp

primary
#A0AF27
secondary
#766BC6
accent
#41E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A0AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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