#A3AF2D#A3AF2D

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

Color values

HEX#A3AF2D
RGBrgb(163, 175, 45)
HSLhsl(66, 59%, 43%)
HSVhsv(66, 74%, 69%)
CMYKcmyk(6.9%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.49, -20.33, 60.83)
CIE-LCHlch(68.49, 64.14, 108.48°)
OKLaboklab(72.14% -0.062 0.1342)
OKLCHoklch(72.14% 0.148 114.8)
XYZxyz(30.9088, 38.6365, 8.3115)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF2D #392DAF
analogous
#AF7A2D #A3AF2D #62AF2D
triadic
#A3AF2D #2DA3AF #AF2DA3
tetradic
#A3AF2D #2DAF7A #392DAF #AF2D62
square
#A3AF2D #2DAF7A #392DAF #AF2D62
split-complementary
#A3AF2D #2D62AF #7A2DAF
monochromatic
#484E14 #767E20 #A3AF2D #C4D049 #D4DD7A

Accessibility & contrast

On white

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

On black

8.73
#A3AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF2D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF2D#FFFFFF#000000##000000
##A3AF2D1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3af2d;
/* rgb */ color: rgb(163, 175, 45);
/* oklch */ color: oklch(72.1% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c670',
    500: '#a3af2d',
    950: '#000000',
  },
}
SCSS
$custom: #a3af2d;
$custom-light: #c2c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af2d",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 65.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.14787,
    "h": 114.8
  },
  "luminance": 0.38636
}

Semantic roles & 50–950 ramp

primary
#A3AF2D
secondary
#7A73C5
accent
#46E254
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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