#AFA436#AFA436

#AFA436 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.128 H 103.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA436
RGBrgb(175, 164, 54)
HSLhsl(55, 53%, 45%)
HSVhsv(55, 69%, 69%)
CMYKcmyk(0%, 6.3%, 69.1%, 31.4%)
CIE-LABlab(66.47, -9.01, 55.85)
CIE-LCHlch(66.47, 56.57, 99.16°)
OKLaboklab(70.79% -0.0301 0.1249)
OKLCHoklch(70.79% 0.128 103.6)
XYZxyz(31.6218, 35.9325, 8.7593)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA436 #3641AF
analogous
#AF6736 #AFA436 #7EAF36
triadic
#AFA436 #36AFA4 #A436AF
tetradic
#AFA436 #36AF67 #3641AF #AF367E
square
#AFA436 #36AF67 #3641AF #AF367E
split-complementary
#AFA436 #367EAF #6736AF
monochromatic
#514C19 #807828 #AFA436 #CBC157 #DAD286

Accessibility & contrast

On white

2.57
#AFA436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AFA436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA436
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA436#FFFFFF#000000##000000
##AFA4361.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#BC998E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa436;
/* rgb */ color: rgb(175, 164, 54);
/* oklch */ color: oklch(70.8% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#cabe74',
    500: '#afa436',
    950: '#000000',
  },
}
SCSS
$custom: #afa436;
$custom-light: #cabe74;
$custom-dark: #000000;
JSON
{
  "hex": "#afa436",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 54
  },
  "hsl": {
    "h": 54.545,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70785,
    "c": 0.12848,
    "h": 103.6
  },
  "luminance": 0.35931
}

Semantic roles & 50–950 ramp

primary
#AFA436
secondary
#7D84C3
accent
#59DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA436

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

Preview Lab → · Contrast checker → · Palette generator →

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