#AFA036#AFA036

#AFA036 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.125 H 101.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA036
RGBrgb(175, 160, 54)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 69%, 69%)
CMYKcmyk(0%, 8.6%, 69.1%, 31.4%)
CIE-LABlab(65.38, -6.89, 54.74)
CIE-LCHlch(65.38, 55.18, 97.17°)
OKLaboklab(69.92% -0.0241 0.1226)
OKLCHoklch(69.92% 0.125 101.1)
XYZxyz(30.9172, 34.5233, 8.5244)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA036 #3645AF
analogous
#AF6436 #AFA036 #81AF36
triadic
#AFA036 #36AFA0 #A036AF
tetradic
#AFA036 #36AF64 #3645AF #AF3681
square
#AFA036 #36AF64 #3645AF #AF3681
split-complementary
#AFA036 #3681AF #6436AF
monochromatic
#514A19 #807528 #AFA036 #CBBD57 #DACF86

Accessibility & contrast

On white

2.66
#AFA036 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AFA036 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA036
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA036#FFFFFF#000000##000000
##AFA0361.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B27
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#BC958B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa036;
/* rgb */ color: rgb(175, 160, 54);
/* oklch */ color: oklch(69.9% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#cabb73',
    500: '#afa036',
    950: '#000000',
  },
}
SCSS
$custom: #afa036;
$custom-light: #cabb73;
$custom-dark: #000000;
JSON
{
  "hex": "#afa036",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 54
  },
  "hsl": {
    "h": 52.562,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69917,
    "c": 0.12492,
    "h": 101.1
  },
  "luminance": 0.34522
}

Semantic roles & 50–950 ramp

primary
#AFA036
secondary
#7D86C3
accent
#5DDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AFA036

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

Preview Lab → · Contrast checker → · Palette generator →

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