#AFA035#AFA035

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

Color values

HEX#AFA035
RGBrgb(175, 160, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 69%)
CMYKcmyk(0%, 8.6%, 69.7%, 31.4%)
CIE-LABlab(65.37, -6.95, 55.14)
CIE-LCHlch(65.37, 55.58, 97.18°)
OKLaboklab(69.91% -0.0244 0.1232)
OKLCHoklch(69.91% 0.126 101.2)
XYZxyz(30.8940, 34.5140, 8.4020)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA035 #3544AF
analogous
#AF6335 #AFA035 #81AF35
triadic
#AFA035 #35AFA0 #A035AF
tetradic
#AFA035 #35AF63 #3544AF #AF3581
square
#AFA035 #35AF63 #3544AF #AF3581
split-complementary
#AFA035 #3581AF #6335AF
monochromatic
#514A19 #807527 #AFA035 #CCBD56 #DACF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA035#FFFFFF#000000##000000
##AFA0351.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)
#AF9B25
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#BC958A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa035;
/* rgb */ color: rgb(175, 160, 53);
/* oklch */ color: oklch(69.9% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#cabb73',
    500: '#afa035',
    950: '#000000',
  },
}
SCSS
$custom: #afa035;
$custom-light: #cabb73;
$custom-dark: #000000;
JSON
{
  "hex": "#afa035",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 53
  },
  "hsl": {
    "h": 52.623,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.12563,
    "h": 101.2
  },
  "luminance": 0.34513
}

Semantic roles & 50–950 ramp

primary
#AFA035
secondary
#7C85C4
accent
#5DDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AFA035

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

Preview Lab → · Contrast checker → · Palette generator →

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