#A3AF2C#A3AF2C

#A3AF2C 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#A3AF2C
RGBrgb(163, 175, 44)
HSLhsl(65, 60%, 43%)
HSVhsv(65, 75%, 69%)
CMYKcmyk(6.9%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.48, -20.38, 61.16)
CIE-LCHlch(68.48, 64.47, 108.43°)
OKLaboklab(72.13% -0.0623 0.1348)
OKLCHoklch(72.13% 0.148 114.8)
XYZxyz(30.8897, 38.6289, 8.2113)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF2C #382CAF
analogous
#AF792C #A3AF2C #62AF2C
triadic
#A3AF2C #2CA3AF #AF2CA3
tetradic
#A3AF2C #2CAF79 #382CAF #AF2C62
square
#A3AF2C #2CAF79 #382CAF #AF2C62
split-complementary
#A3AF2C #2C62AF #792CAF
monochromatic
#484D13 #757E20 #A3AF2C #C4D147 #D4DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3AF2C#FFFFFF#000000##000000
##A3AF2C1.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)
#BCA60E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af2c;
/* rgb */ color: rgb(163, 175, 44);
/* oklch */ color: oklch(72.1% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c66f',
    500: '#a3af2c',
    950: '#000000',
  },
}
SCSS
$custom: #a3af2c;
$custom-light: #c2c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af2c",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 65.496,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.14844,
    "h": 114.8
  },
  "luminance": 0.38628
}

Semantic roles & 50–950 ramp

primary
#A3AF2C
secondary
#7972C5
accent
#45E353
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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