#A8AF2B#A8AF2B

#A8AF2B is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.148 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A8AF2B
RGBrgb(168, 175, 43)
HSLhsl(63, 61%, 43%)
HSVhsv(63, 75%, 69%)
CMYKcmyk(4%, 0%, 75.4%, 31.4%)
CIE-LABlab(68.87, -18.28, 61.99)
CIE-LCHlch(68.87, 64.63, 106.43°)
OKLaboklab(72.54% -0.0568 0.1362)
OKLCHoklch(72.54% 0.148 112.6)
XYZxyz(31.9155, 39.1599, 8.1624)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF2B #322BAF
analogous
#AF742B #A8AF2B #66AF2B
triadic
#A8AF2B #2BA8AF #AF2BA8
tetradic
#A8AF2B #2BAF74 #322BAF #AF2B66
square
#A8AF2B #2BAF74 #322BAF #AF2B66
split-complementary
#A8AF2B #2B66AF #742BAF
monochromatic
#4A4D13 #797E1F #A8AF2B #CAD146 #D8DE77

Accessibility & contrast

On white

2.38
#A8AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A8AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF2B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF2B#FFFFFF#000000##000000
##A8AF2B1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70B
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af2b;
/* rgb */ color: rgb(168, 175, 43);
/* oklch */ color: oklch(72.5% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#c5c66f',
    500: '#a8af2b',
    950: '#000000',
  },
}
SCSS
$custom: #a8af2b;
$custom-light: #c5c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af2b",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 63.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72535,
    "c": 0.14753,
    "h": 112.6
  },
  "luminance": 0.39159
}

Semantic roles & 50–950 ramp

primary
#A8AF2B
secondary
#7570C5
accent
#44E44D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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