#AFB419#AFB419

#AFB419 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.158 H 111.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#AFB419
RGBrgb(175, 180, 25)
HSLhsl(62, 76%, 40%)
HSVhsv(62, 86%, 71%)
CMYKcmyk(2.8%, 0%, 86.1%, 29.4%)
CIE-LABlab(70.75, -18.38, 68.72)
CIE-LCHlch(70.75, 71.14, 104.97°)
OKLaboklab(74.16% -0.0587 0.1472)
OKLCHoklch(74.16% 0.158 111.7)
XYZxyz(34.1772, 41.8276, 7.1927)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB419 #1E19B4
analogous
#B46B19 #AFB419 #62B419
triadic
#AFB419 #19AFB4 #B419AF
tetradic
#AFB419 #19B46B #1E19B4 #B41962
square
#AFB419 #19B46B #1E19B4 #B41962
split-complementary
#AFB419 #1962B4 #6B19B4
monochromatic
#47490A #7B7E12 #AFB419 #DBE129 #E4E95F

Accessibility & contrast

On white

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

On black

9.37
#AFB419 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB419
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB419#FFFFFF#000000##000000
##AFB4191.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb419;
/* rgb */ color: rgb(175, 180, 25);
/* oklch */ color: oklch(74.2% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca69',
    500: '#afb419',
    950: '#000000',
  },
}
SCSS
$custom: #afb419;
$custom-light: #cbca69;
$custom-dark: #000000;
JSON
{
  "hex": "#afb419",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 25
  },
  "hsl": {
    "h": 61.935,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.74158,
    "c": 0.15848,
    "h": 111.7
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

primary
#AFB419
secondary
#605CCD
accent
#36F23C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB419

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

Preview Lab → · Contrast checker → · Palette generator →

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