#AFA944#AFA944

#AFA944 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.122 H 105.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AFA944
RGBrgb(175, 169, 68)
HSLhsl(57, 44%, 48%)
HSVhsv(57, 61%, 69%)
CMYKcmyk(0%, 3.4%, 61.1%, 31.4%)
CIE-LABlab(67.95, -10.76, 51.45)
CIE-LCHlch(67.95, 52.57, 101.81°)
OKLaboklab(72% -0.0335 0.1178)
OKLCHoklch(72% 0.122 105.9)
XYZxyz(32.9117, 37.9083, 11.0511)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA944 #444AAF
analogous
#AF7444 #AFA944 #7FAF44
triadic
#AFA944 #44AFA9 #A944AF
tetradic
#AFA944 #44AF74 #444AAF #AF447F
square
#AFA944 #44AF74 #444AAF #AF447F
split-complementary
#AFA944 #447FAF #7444AF
monochromatic
#575422 #837E33 #AFA944 #C5C06B #D7D397

Accessibility & contrast

On white

2.45
#AFA944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#AFA944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA944
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA944#FFFFFF#000000##000000
##AFA9441.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A338
Deuteranopia (green-blind)
#B9A84A
Tritanopia (blue-blind)
#BB9E93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa944;
/* rgb */ color: rgb(175, 169, 68);
/* oklch */ color: oklch(72.0% 0.122 105.9);
Tailwind
colors: {
  custom: {
    50: '#c9c27c',
    500: '#afa944',
    950: '#000000',
  },
}
SCSS
$custom: #afa944;
$custom-light: #c9c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa944",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 68
  },
  "hsl": {
    "h": 56.636,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72002,
    "c": 0.12249,
    "h": 105.9
  },
  "luminance": 0.37907
}

Semantic roles & 50–950 ramp

primary
#AFA944
secondary
#8C8FC2
accent
#5BD454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA944

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

Preview Lab → · Contrast checker → · Palette generator →

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