#AFA043#AFA043

#AFA043 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.115 H 100.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AFA043
RGBrgb(175, 160, 67)
HSLhsl(52, 45%, 47%)
HSVhsv(52, 62%, 69%)
CMYKcmyk(0%, 8.6%, 61.7%, 31.4%)
CIE-LABlab(65.48, -6.08, 49.21)
CIE-LCHlch(65.48, 49.58, 97.04°)
OKLaboklab(70.04% -0.0203 0.1129)
OKLCHoklch(70.04% 0.115 100.2)
XYZxyz(31.2643, 34.6621, 10.3527)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA043 #4352AF
analogous
#AF6A43 #AFA043 #88AF43
triadic
#AFA043 #43AFA0 #A043AF
tetradic
#AFA043 #43AF6A #4352AF #AF4388
square
#AFA043 #43AF6A #4352AF #AF4388
split-complementary
#AFA043 #4388AF #6A43AF
monochromatic
#564F21 #837832 #AFA043 #C6B969 #D7CE96

Accessibility & contrast

On white

2.65
#AFA043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AFA043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA043
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA043#FFFFFF#000000##000000
##AFA0431.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C39
Deuteranopia (green-blind)
#B2A248
Tritanopia (blue-blind)
#BC958C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa043;
/* rgb */ color: rgb(175, 160, 67);
/* oklch */ color: oklch(70.0% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#cabb7b',
    500: '#afa043',
    950: '#000000',
  },
}
SCSS
$custom: #afa043;
$custom-light: #cabb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa043",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 67
  },
  "hsl": {
    "h": 51.667,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70038,
    "c": 0.1147,
    "h": 100.2
  },
  "luminance": 0.34661
}

Semantic roles & 50–950 ramp

primary
#AFA043
secondary
#8B93C2
accent
#65D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AFA043

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

Preview Lab → · Contrast checker → · Palette generator →

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