#AFB413#AFB413

#AFB413 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.160 H 111.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#AFB413
RGBrgb(175, 180, 19)
HSLhsl(62, 81%, 39%)
HSVhsv(62, 89%, 71%)
CMYKcmyk(2.8%, 0%, 89.4%, 29.4%)
CIE-LABlab(70.74, -18.51, 69.86)
CIE-LCHlch(70.74, 72.27, 104.84°)
OKLaboklab(74.14% -0.0594 0.1488)
OKLCHoklch(74.14% 0.16 111.8)
XYZxyz(34.1193, 41.8044, 6.8877)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB413 #1813B4
analogous
#B46913 #AFB413 #5FB413
triadic
#AFB413 #13AFB4 #B413AF
tetradic
#AFB413 #13B469 #1813B4 #B4135F
square
#AFB413 #13B469 #1813B4 #B4135F
split-complementary
#AFB413 #135FB4 #6913B4
monochromatic
#434507 #797D0D #AFB413 #E1E71D #E8ED54

Accessibility & contrast

On white

2.24
#AFB413 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#AFB413 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB413
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB413#FFFFFF#000000##000000
##AFB4131.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AB00
Deuteranopia (green-blind)
#C3AF28
Tritanopia (blue-blind)
#BCA899
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb413;
/* rgb */ color: rgb(175, 180, 19);
/* oklch */ color: oklch(74.1% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#cbca67',
    500: '#afb413',
    950: '#000000',
  },
}
SCSS
$custom: #afb413;
$custom-light: #cbca67;
$custom-dark: #000000;
JSON
{
  "hex": "#afb413",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 19
  },
  "hsl": {
    "h": 61.863,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.1602,
    "h": 111.8
  },
  "luminance": 0.41803
}

Semantic roles & 50–950 ramp

primary
#AFB413
secondary
#5753CF
accent
#30F737
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB413

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

Preview Lab → · Contrast checker → · Palette generator →

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