#A4AF2B#A4AF2B

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

Color values

HEX#A4AF2B
RGBrgb(164, 175, 43)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 75%, 69%)
CMYKcmyk(6.3%, 0%, 75.4%, 31.4%)
CIE-LABlab(68.55, -20.00, 61.59)
CIE-LCHlch(68.55, 64.75, 107.99°)
OKLaboklab(72.21% -0.0613 0.1354)
OKLCHoklch(72.21% 0.149 114.4)
XYZxyz(31.0768, 38.7275, 8.1231)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2B #362BAF
analogous
#AF782B #A4AF2B #62AF2B
triadic
#A4AF2B #2BA4AF #AF2BA4
tetradic
#A4AF2B #2BAF78 #362BAF #AF2B62
square
#A4AF2B #2BAF78 #362BAF #AF2B62
split-complementary
#A4AF2B #2B62AF #782BAF
monochromatic
#484D13 #767E1F #A4AF2B #C6D146 #D5DE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4AF2B#FFFFFF#000000##000000
##A4AF2B1.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)
#BCA60B
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2b;
/* rgb */ color: rgb(164, 175, 43);
/* oklch */ color: oklch(72.2% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c66f',
    500: '#a4af2b',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2b;
$custom-light: #c2c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2b",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 65,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72206,
    "c": 0.14869,
    "h": 114.4
  },
  "luminance": 0.38727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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