#A3AF2B#A3AF2B

#A3AF2B is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.149 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A3AF2B
RGBrgb(163, 175, 43)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 75%, 69%)
CMYKcmyk(6.9%, 0%, 75.4%, 31.4%)
CIE-LABlab(68.48, -20.43, 61.49)
CIE-LCHlch(68.48, 64.79, 108.38°)
OKLaboklab(72.13% -0.0625 0.1353)
OKLCHoklch(72.13% 0.149 114.8)
XYZxyz(30.8712, 38.6215, 8.1135)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF2B #372BAF
analogous
#AF792B #A3AF2B #61AF2B
triadic
#A3AF2B #2BA3AF #AF2BA3
tetradic
#A3AF2B #2BAF79 #372BAF #AF2B61
square
#A3AF2B #2BAF79 #372BAF #AF2B61
split-complementary
#A3AF2B #2B61AF #792BAF
monochromatic
#474D13 #757E1F #A3AF2B #C5D146 #D4DE77

Accessibility & contrast

On white

2.41
#A3AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A3AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF2B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF2B#FFFFFF#000000##000000
##A3AF2B1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60B
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af2b;
/* rgb */ color: rgb(163, 175, 43);
/* oklch */ color: oklch(72.1% 0.149 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c66f',
    500: '#a3af2b',
    950: '#000000',
  },
}
SCSS
$custom: #a3af2b;
$custom-light: #c2c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af2b",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 65.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.14899,
    "h": 114.8
  },
  "luminance": 0.38621
}

Semantic roles & 50–950 ramp

primary
#A3AF2B
secondary
#7870C5
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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