#A4AF2C#A4AF2C

#A4AF2C is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.148 H 114.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A4AF2C
RGBrgb(164, 175, 44)
HSLhsl(65, 60%, 43%)
HSVhsv(65, 75%, 69%)
CMYKcmyk(6.3%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.56, -19.95, 61.26)
CIE-LCHlch(68.56, 64.43, 108.04°)
OKLaboklab(72.21% -0.0611 0.1349)
OKLCHoklch(72.21% 0.148 114.4)
XYZxyz(31.0953, 38.7349, 8.2209)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2C #372CAF
analogous
#AF782C #A4AF2C #63AF2C
triadic
#A4AF2C #2CA4AF #AF2CA4
tetradic
#A4AF2C #2CAF78 #372CAF #AF2C63
square
#A4AF2C #2CAF78 #372CAF #AF2C63
split-complementary
#A4AF2C #2C63AF #782CAF
monochromatic
#484D13 #767E20 #A4AF2C #C5D147 #D5DD78

Accessibility & contrast

On white

2.40
#A4AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A4AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF2C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF2C#FFFFFF#000000##000000
##A4AF2C1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2c;
/* rgb */ color: rgb(164, 175, 44);
/* oklch */ color: oklch(72.2% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c66f',
    500: '#a4af2c',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2c;
$custom-light: #c2c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2c",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 65.038,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.14814,
    "h": 114.4
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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