#AFB944#AFB944

#AFB944 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.140 H 113.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#AFB944
RGBrgb(175, 185, 68)
HSLhsl(65, 46%, 50%)
HSVhsv(65, 63%, 73%)
CMYKcmyk(5.4%, 0%, 63.2%, 27.5%)
CIE-LABlab(72.38, -18.95, 56.22)
CIE-LCHlch(72.38, 59.32, 108.63°)
OKLaboklab(75.54% -0.0566 0.1279)
OKLCHoklch(75.54% 0.14 113.9)
XYZxyz(36.0724, 44.2299, 12.1047)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB944 #4E44B9
analogous
#B98944 #AFB944 #75B944
triadic
#AFB944 #44AFB9 #B944AF
tetradic
#AFB944 #44B989 #4E44B9 #B94475
square
#AFB944 #44B989 #4E44B9 #B94475
split-complementary
#AFB944 #4475B9 #8944B9
monochromatic
#5A5F23 #858C34 #AFB944 #C3CA70 #D6DB9D

Accessibility & contrast

On white

2.13
#AFB944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#AFB944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB944
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB944#FFFFFF#000000##000000
##AFB9441.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B035
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb944;
/* rgb */ color: rgb(175, 185, 68);
/* oklch */ color: oklch(75.5% 0.140 113.9);
Tailwind
colors: {
  custom: {
    50: '#cacd7d',
    500: '#afb944',
    950: '#000000',
  },
}
SCSS
$custom: #afb944;
$custom-light: #cacd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb944",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 65.128,
    "s": 46.245,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.13988,
    "h": 113.9
  },
  "luminance": 0.44229
}

Semantic roles & 50–950 ramp

primary
#AFB944
secondary
#9692C7
accent
#52D65D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB944

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

Preview Lab → · Contrast checker → · Palette generator →

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