#AFA454#AFA454

#AFA454 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.103 H 101.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA454
RGBrgb(175, 164, 84)
HSLhsl(53, 36%, 51%)
HSVhsv(53, 52%, 69%)
CMYKcmyk(0%, 6.3%, 52%, 31.4%)
CIE-LABlab(66.75, -6.86, 42.51)
CIE-LCHlch(66.75, 43.06, 99.16°)
OKLaboklab(71.1% -0.0205 0.1005)
OKLCHoklch(71.1% 0.103 101.6)
XYZxyz(32.5559, 36.3061, 13.6787)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA454 #545FAF
analogous
#AF7654 #AFA454 #8CAF54
triadic
#AFA454 #54AFA4 #A454AF
tetradic
#AFA454 #54AF76 #545FAF #AF548C
square
#AFA454 #54AF76 #545FAF #AF548C
split-complementary
#AFA454 #548CAF #7654AF
monochromatic
#5D572C #877E3F #AFA454 #C3BA7E #D6D0A7

Accessibility & contrast

On white

2.54
#AFA454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AFA454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA454
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA454#FFFFFF#000000##000000
##AFA4541.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04D
Deuteranopia (green-blind)
#B4A558
Tritanopia (blue-blind)
#BA9A92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa454;
/* rgb */ color: rgb(175, 164, 84);
/* oklch */ color: oklch(71.1% 0.103 101.6);
Tailwind
colors: {
  custom: {
    50: '#c9be86',
    500: '#afa454',
    950: '#000000',
  },
}
SCSS
$custom: #afa454;
$custom-light: #c9be86;
$custom-dark: #000000;
JSON
{
  "hex": "#afa454",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 84
  },
  "hsl": {
    "h": 52.747,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.10253,
    "h": 101.6
  },
  "luminance": 0.36305
}

Semantic roles & 50–950 ramp

primary
#AFA454
secondary
#9BA0C4
accent
#69CC5C
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA454

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

Preview Lab → · Contrast checker → · Palette generator →

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