#A0AF26#A0AF26

#A0AF26 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#A0AF26
RGBrgb(160, 175, 38)
HSLhsl(67, 64%, 42%)
HSVhsv(67, 78%, 69%)
CMYKcmyk(8.6%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.22, -21.92, 62.75)
CIE-LCHlch(68.22, 66.47, 109.26°)
OKLaboklab(71.86% -0.0669 0.1372)
OKLCHoklch(71.86% 0.153 116)
XYZxyz(30.1779, 38.2739, 7.6312)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF26 #3526AF
analogous
#AF7A26 #A0AF26 #5CAF26
triadic
#A0AF26 #26A0AF #AF26A0
tetradic
#A0AF26 #26AF7A #3526AF #AF265C
square
#A0AF26 #26AF7A #3526AF #AF265C
split-complementary
#A0AF26 #265CAF #7A26AF
monochromatic
#444A10 #727D1B #A0AF26 #C4D53D #D4E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a0af26;
/* rgb */ color: rgb(160, 175, 38);
/* oklch */ color: oklch(71.9% 0.153 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66d',
    500: '#a0af26',
    950: '#000000',
  },
}
SCSS
$custom: #a0af26;
$custom-light: #c0c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af26",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 66.569,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71856,
    "c": 0.15259,
    "h": 116
  },
  "luminance": 0.38273
}

Semantic roles & 50–950 ramp

primary
#A0AF26
secondary
#746AC7
accent
#40E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A0AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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