#AFA153#AFA153

#AFA153 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.101 H 99.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AFA153
RGBrgb(175, 161, 83)
HSLhsl(51, 37%, 51%)
HSVhsv(51, 53%, 69%)
CMYKcmyk(0%, 8%, 52.6%, 31.4%)
CIE-LABlab(65.93, -5.35, 42.03)
CIE-LCHlch(65.93, 42.37, 97.25°)
OKLaboklab(70.44% -0.0163 0.0993)
OKLCHoklch(70.44% 0.101 99.3)
XYZxyz(31.9864, 35.2294, 13.2970)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA153 #5361AF
analogous
#AF7353 #AFA153 #8FAF53
triadic
#AFA153 #53AFA1 #A153AF
tetradic
#AFA153 #53AF73 #5361AF #AF538F
square
#AFA153 #53AF73 #5361AF #AF538F
split-complementary
#AFA153 #538FAF #7353AF
monochromatic
#5D552B #867B3E #AFA153 #C2B87D #D6CFA7

Accessibility & contrast

On white

2.61
#AFA153 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AFA153 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA153
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA153#FFFFFF#000000##000000
##AFA1531.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4C
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#BB978F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa153;
/* rgb */ color: rgb(175, 161, 83);
/* oklch */ color: oklch(70.4% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#c9bc85',
    500: '#afa153',
    950: '#000000',
  },
}
SCSS
$custom: #afa153;
$custom-light: #c9bc85;
$custom-dark: #000000;
JSON
{
  "hex": "#afa153",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 83
  },
  "hsl": {
    "h": 50.87,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.10063,
    "h": 99.3
  },
  "luminance": 0.35228
}

Semantic roles & 50–950 ramp

primary
#AFA153
secondary
#9AA1C3
accent
#6DCD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA153

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

Preview Lab → · Contrast checker → · Palette generator →

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