#AFA044#AFA044

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

Color values

HEX#AFA044
RGBrgb(175, 160, 68)
HSLhsl(52, 44%, 48%)
HSVhsv(52, 61%, 69%)
CMYKcmyk(0%, 8.6%, 61.1%, 31.4%)
CIE-LABlab(65.49, -6.01, 48.76)
CIE-LCHlch(65.49, 49.13, 97.02°)
OKLaboklab(70.05% -0.02 0.1121)
OKLCHoklch(70.05% 0.114 100.1)
XYZxyz(31.2946, 34.6742, 10.5121)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA044 #4453AF
analogous
#AF6B44 #AFA044 #88AF44
triadic
#AFA044 #44AFA0 #A044AF
tetradic
#AFA044 #44AF6B #4453AF #AF4488
square
#AFA044 #44AF6B #4453AF #AF4488
split-complementary
#AFA044 #4488AF #6B44AF
monochromatic
#574F22 #837833 #AFA044 #C5B96B #D7CE97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA044#FFFFFF#000000##000000
##AFA0441.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)
#AE9C3A
Deuteranopia (green-blind)
#B2A249
Tritanopia (blue-blind)
#BC958C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa044;
/* rgb */ color: rgb(175, 160, 68);
/* oklch */ color: oklch(70.0% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#cabb7c',
    500: '#afa044',
    950: '#000000',
  },
}
SCSS
$custom: #afa044;
$custom-light: #cabb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa044",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 68
  },
  "hsl": {
    "h": 51.589,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.11384,
    "h": 100.1
  },
  "luminance": 0.34673
}

Semantic roles & 50–950 ramp

primary
#AFA044
secondary
#8C94C2
accent
#66D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AFA044

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

Preview Lab → · Contrast checker → · Palette generator →

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