#A7AF33#A7AF33

#A7AF33 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.143 H 113.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A7AF33
RGBrgb(167, 175, 51)
HSLhsl(64, 55%, 44%)
HSVhsv(64, 71%, 69%)
CMYKcmyk(4.6%, 0%, 70.9%, 31.4%)
CIE-LABlab(68.83, -18.32, 59.14)
CIE-LCHlch(68.83, 61.91, 107.21°)
OKLaboklab(72.5% -0.0561 0.1316)
OKLCHoklch(72.5% 0.143 113.1)
XYZxyz(31.8648, 39.1151, 9.0027)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF33 #3B33AF
analogous
#AF7933 #A7AF33 #69AF33
triadic
#A7AF33 #33A7AF #AF33A7
tetradic
#A7AF33 #33AF79 #3B33AF #AF3369
square
#A7AF33 #33AF79 #3B33AF #AF3369
split-complementary
#A7AF33 #3369AF #7933AF
monochromatic
#4D5017 #7A8025 #A7AF33 #C5CD52 #D5DB82

Accessibility & contrast

On white

2.38
#A7AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A7AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF33
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF33#FFFFFF#000000##000000
##A7AF331.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#B2A497
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af33;
/* rgb */ color: rgb(167, 175, 51);
/* oklch */ color: oklch(72.5% 0.143 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c673',
    500: '#a7af33',
    950: '#000000',
  },
}
SCSS
$custom: #a7af33;
$custom-light: #c4c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af33",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 63.871,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72504,
    "c": 0.14304,
    "h": 113.1
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

primary
#A7AF33
secondary
#7F7AC4
accent
#4ADE53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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