#A0AF23#A0AF23

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

Color values

HEX#A0AF23
RGBrgb(160, 175, 35)
HSLhsl(66, 67%, 41%)
HSVhsv(66, 80%, 69%)
CMYKcmyk(8.6%, 0%, 80%, 31.4%)
CIE-LABlab(68.21, -22.04, 63.62)
CIE-LCHlch(68.21, 67.33, 109.11°)
OKLaboklab(71.84% -0.0674 0.1385)
OKLCHoklch(71.84% 0.154 116)
XYZxyz(30.1314, 38.2553, 7.3865)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AF23 #3223AF
analogous
#AF7823 #A0AF23 #5AAF23
triadic
#A0AF23 #23A0AF #AF23A0
tetradic
#A0AF23 #23AF78 #3223AF #AF235A
square
#A0AF23 #23AF78 #3223AF #AF235A
split-complementary
#A0AF23 #235AAF #7823AF
monochromatic
#43490F #717C19 #A0AF23 #C6D738 #D5E16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a0af23;
/* rgb */ color: rgb(160, 175, 35);
/* oklch */ color: oklch(71.8% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#c0c66b',
    500: '#a0af23',
    950: '#000000',
  },
}
SCSS
$custom: #a0af23;
$custom-light: #c0c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0af23",
  "rgb": {
    "r": 160,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 66.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.7184,
    "c": 0.15403,
    "h": 116
  },
  "luminance": 0.38255
}

Semantic roles & 50–950 ramp

primary
#A0AF23
secondary
#7166C7
accent
#3EEA51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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