#AFA435#AFA435

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

Color values

HEX#AFA435
RGBrgb(175, 164, 53)
HSLhsl(55, 54%, 45%)
HSVhsv(55, 70%, 69%)
CMYKcmyk(0%, 6.3%, 69.7%, 31.4%)
CIE-LABlab(66.46, -9.06, 56.24)
CIE-LCHlch(66.46, 56.97, 99.15°)
OKLaboklab(70.78% -0.0304 0.1256)
OKLCHoklch(70.78% 0.129 103.6)
XYZxyz(31.5986, 35.9232, 8.6369)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA435 #3540AF
analogous
#AF6735 #AFA435 #7DAF35
triadic
#AFA435 #35AFA4 #A435AF
tetradic
#AFA435 #35AF67 #3540AF #AF357D
square
#AFA435 #35AF67 #3540AF #AF357D
split-complementary
#AFA435 #357DAF #6735AF
monochromatic
#514C19 #807827 #AFA435 #CCC156 #DAD285

Accessibility & contrast

On white

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

On black

8.18
#AFA435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA435
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA435#FFFFFF#000000##000000
##AFA4351.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa435;
/* rgb */ color: rgb(175, 164, 53);
/* oklch */ color: oklch(70.8% 0.129 103.6);
Tailwind
colors: {
  custom: {
    50: '#cabe73',
    500: '#afa435',
    950: '#000000',
  },
}
SCSS
$custom: #afa435;
$custom-light: #cabe73;
$custom-dark: #000000;
JSON
{
  "hex": "#afa435",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 53
  },
  "hsl": {
    "h": 54.59,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.12918,
    "h": 103.6
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#AFA435
secondary
#7C83C4
accent
#58DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA435

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

Preview Lab → · Contrast checker → · Palette generator →

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