#A4AF2E#A4AF2E

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

Color values

HEX#A4AF2E
RGBrgb(164, 175, 46)
HSLhsl(65, 58%, 43%)
HSVhsv(65, 74%, 69%)
CMYKcmyk(6.3%, 0%, 73.7%, 31.4%)
CIE-LABlab(68.57, -19.86, 60.59)
CIE-LCHlch(68.57, 63.76, 108.15°)
OKLaboklab(72.22% -0.0607 0.1339)
OKLCHoklch(72.22% 0.147 114.4)
XYZxyz(31.1339, 38.7503, 8.4237)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2E #392EAF
analogous
#AF792E #A4AF2E #63AF2E
triadic
#A4AF2E #2EA4AF #AF2EA4
tetradic
#A4AF2E #2EAF79 #392EAF #AF2E63
square
#A4AF2E #2EAF79 #392EAF #AF2E63
split-complementary
#A4AF2E #2E63AF #792EAF
monochromatic
#494E15 #777F21 #A4AF2E #C4D04B #D4DC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4AF2E#FFFFFF#000000##000000
##A4AF2E1.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)
#BCA613
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2e;
/* rgb */ color: rgb(164, 175, 46);
/* oklch */ color: oklch(72.2% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c670',
    500: '#a4af2e',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2e;
$custom-light: #c2c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2e",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 65.116,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.14698,
    "h": 114.4
  },
  "luminance": 0.3875
}

Semantic roles & 50–950 ramp

primary
#A4AF2E
secondary
#7B74C5
accent
#46E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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