#AFA448#AFA448

#AFA448 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.114 H 102.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA448
RGBrgb(175, 164, 72)
HSLhsl(54, 42%, 48%)
HSVhsv(54, 59%, 69%)
CMYKcmyk(0%, 6.3%, 58.9%, 31.4%)
CIE-LABlab(66.62, -7.84, 48.16)
CIE-LCHlch(66.62, 48.79, 99.25°)
OKLaboklab(70.96% -0.0247 0.1113)
OKLCHoklch(70.96% 0.114 102.5)
XYZxyz(32.1255, 36.1339, 11.4120)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA448 #4853AF
analogous
#AF7048 #AFA448 #86AF48
triadic
#AFA448 #48AFA4 #A448AF
tetradic
#AFA448 #48AF70 #4853AF #AF4886
square
#AFA448 #48AF70 #4853AF #AF4886
split-complementary
#AFA448 #4886AF #7048AF
monochromatic
#585324 #847B36 #AFA448 #C4BB70 #D6D09B

Accessibility & contrast

On white

2.55
#AFA448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AFA448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA448
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA448#FFFFFF#000000##000000
##AFA4481.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3E
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa448;
/* rgb */ color: rgb(175, 164, 72);
/* oklch */ color: oklch(71.0% 0.114 102.5);
Tailwind
colors: {
  custom: {
    50: '#c9be7e',
    500: '#afa448',
    950: '#000000',
  },
}
SCSS
$custom: #afa448;
$custom-light: #c9be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa448",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 72
  },
  "hsl": {
    "h": 53.592,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70956,
    "c": 0.11404,
    "h": 102.5
  },
  "luminance": 0.36133
}

Semantic roles & 50–950 ramp

primary
#AFA448
secondary
#9096C2
accent
#63D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA448

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

Preview Lab → · Contrast checker → · Palette generator →

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