#AFA544#AFA544

#AFA544 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.119 H 103.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AFA544
RGBrgb(175, 165, 68)
HSLhsl(54, 44%, 48%)
HSVhsv(54, 61%, 69%)
CMYKcmyk(0%, 5.7%, 61.1%, 31.4%)
CIE-LABlab(66.86, -8.66, 50.26)
CIE-LCHlch(66.86, 51.00, 99.78°)
OKLaboklab(71.13% -0.0275 0.1153)
OKLCHoklch(71.13% 0.119 103.4)
XYZxyz(32.1789, 36.4428, 10.8068)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA544 #444EAF
analogous
#AF7044 #AFA544 #83AF44
triadic
#AFA544 #44AFA5 #A544AF
tetradic
#AFA544 #44AF70 #444EAF #AF4483
square
#AFA544 #44AF70 #444EAF #AF4483
split-complementary
#AFA544 #4483AF #7044AF
monochromatic
#575222 #837B33 #AFA544 #C5BD6B #D7D197

Accessibility & contrast

On white

2.53
#AFA544 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AFA544 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA544
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA544#FFFFFF#000000##000000
##AFA5441.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A039
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa544;
/* rgb */ color: rgb(175, 165, 68);
/* oklch */ color: oklch(71.1% 0.119 103.4);
Tailwind
colors: {
  custom: {
    50: '#cabf7c',
    500: '#afa544',
    950: '#000000',
  },
}
SCSS
$custom: #afa544;
$custom-light: #cabf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa544",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 68
  },
  "hsl": {
    "h": 54.393,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7113,
    "c": 0.11852,
    "h": 103.4
  },
  "luminance": 0.36442
}

Semantic roles & 50–950 ramp

primary
#AFA544
secondary
#8C91C2
accent
#60D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA544

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

Preview Lab → · Contrast checker → · Palette generator →

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