#AFA253#AFA253

#AFA253 is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.102 H 100.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AFA253
RGBrgb(175, 162, 83)
HSLhsl(52, 37%, 51%)
HSVhsv(52, 53%, 69%)
CMYKcmyk(0%, 7.4%, 52.6%, 31.4%)
CIE-LABlab(66.20, -5.88, 42.35)
CIE-LCHlch(66.20, 42.76, 97.91°)
OKLaboklab(70.66% -0.0178 0.1)
OKLCHoklch(70.66% 0.102 100.1)
XYZxyz(32.1619, 35.5803, 13.3555)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA253 #5360AF
analogous
#AF7453 #AFA253 #8EAF53
triadic
#AFA253 #53AFA2 #A253AF
tetradic
#AFA253 #53AF74 #5360AF #AF538E
square
#AFA253 #53AF74 #5360AF #AF538E
split-complementary
#AFA253 #538EAF #7453AF
monochromatic
#5D562B #867C3E #AFA253 #C2B97D #D6CFA7

Accessibility & contrast

On white

2.59
#AFA253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AFA253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA253
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA253#FFFFFF#000000##000000
##AFA2531.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4C
Deuteranopia (green-blind)
#B3A357
Tritanopia (blue-blind)
#BB9890
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa253;
/* rgb */ color: rgb(175, 162, 83);
/* oklch */ color: oklch(70.7% 0.102 100.1);
Tailwind
colors: {
  custom: {
    50: '#c9bd85',
    500: '#afa253',
    950: '#000000',
  },
}
SCSS
$custom: #afa253;
$custom-light: #c9bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa253",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 83
  },
  "hsl": {
    "h": 51.522,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.10158,
    "h": 100.1
  },
  "luminance": 0.35579
}

Semantic roles & 50–950 ramp

primary
#AFA253
secondary
#9AA0C3
accent
#6BCD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA253

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

Preview Lab → · Contrast checker → · Palette generator →

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