#AFA053#AFA053

#AFA053 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.100 H 98.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AFA053
RGBrgb(175, 160, 83)
HSLhsl(50, 37%, 51%)
HSVhsv(50, 53%, 69%)
CMYKcmyk(0%, 8.6%, 52.6%, 31.4%)
CIE-LABlab(65.66, -4.81, 41.70)
CIE-LCHlch(65.66, 41.98, 96.58°)
OKLaboklab(70.23% -0.0148 0.0986)
OKLCHoklch(70.23% 0.1 98.5)
XYZxyz(31.8124, 34.8813, 13.2390)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA053 #5362AF
analogous
#AF7253 #AFA053 #90AF53
triadic
#AFA053 #53AFA0 #A053AF
tetradic
#AFA053 #53AF72 #5362AF #AF5390
square
#AFA053 #53AF72 #5362AF #AF5390
split-complementary
#AFA053 #5390AF #7253AF
monochromatic
#5D542B #867B3E #AFA053 #C2B77D #D6CEA7

Accessibility & contrast

On white

2.63
#AFA053 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AFA053 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA053
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA053#FFFFFF#000000##000000
##AFA0531.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4C
Deuteranopia (green-blind)
#B1A256
Tritanopia (blue-blind)
#BB968E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa053;
/* rgb */ color: rgb(175, 160, 83);
/* oklch */ color: oklch(70.2% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#c9bb85',
    500: '#afa053',
    950: '#000000',
  },
}
SCSS
$custom: #afa053;
$custom-light: #c9bb85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa053",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 83
  },
  "hsl": {
    "h": 50.217,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70229,
    "c": 0.0997,
    "h": 98.5
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#AFA053
secondary
#9AA1C3
accent
#6ECD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110B
muted
#82807C

Preview Lab

Preview with #AFA053

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

Preview Lab → · Contrast checker → · Palette generator →

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