#AFB441#AFB441

#AFB441 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.137 H 111.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AFB441
RGBrgb(175, 180, 65)
HSLhsl(63, 47%, 48%)
HSVhsv(63, 64%, 71%)
CMYKcmyk(2.8%, 0%, 63.9%, 29.4%)
CIE-LABlab(70.97, -16.63, 55.98)
CIE-LCHlch(70.97, 58.39, 106.54°)
OKLaboklab(74.4% -0.0504 0.127)
OKLCHoklch(74.4% 0.137 111.7)
XYZxyz(34.9556, 42.1389, 11.2922)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB441 #4641B4
analogous
#B48041 #AFB441 #75B441
triadic
#AFB441 #41AFB4 #B441AF
tetradic
#AFB441 #41B480 #4641B4 #B44175
square
#AFB441 #41B480 #4641B4 #B44175
split-complementary
#AFB441 #4175B4 #8041B4
monochromatic
#585A21 #838731 #AFB441 #C5C969 #D6D996

Accessibility & contrast

On white

2.23
#AFB441 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AFB441 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB441
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB441#FFFFFF#000000##000000
##AFB4411.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC32
Deuteranopia (green-blind)
#C2AF49
Tritanopia (blue-blind)
#BAA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb441;
/* rgb */ color: rgb(175, 180, 65);
/* oklch */ color: oklch(74.4% 0.137 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca7b',
    500: '#afb441',
    950: '#000000',
  },
}
SCSS
$custom: #afb441;
$custom-light: #caca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb441",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 65
  },
  "hsl": {
    "h": 62.609,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74398,
    "c": 0.1366,
    "h": 111.7
  },
  "luminance": 0.42138
}

Semantic roles & 50–950 ramp

primary
#AFB441
secondary
#8E8CC5
accent
#51D757
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB441

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

Preview Lab → · Contrast checker → · Palette generator →

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