#AFB319#AFB319

#AFB319 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.9% C 0.157 H 111.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFB319
RGBrgb(175, 179, 25)
HSLhsl(62, 75%, 40%)
HSVhsv(62, 86%, 70%)
CMYKcmyk(2.2%, 0%, 86%, 29.8%)
CIE-LABlab(70.47, -17.88, 68.49)
CIE-LCHlch(70.47, 70.79, 104.63°)
OKLaboklab(73.93% -0.0573 0.1467)
OKLCHoklch(73.93% 0.157 111.3)
XYZxyz(33.9760, 41.4253, 7.1256)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB319 #1D19B3
analogous
#B36A19 #AFB319 #62B319
triadic
#AFB319 #19AFB3 #B319AF
tetradic
#AFB319 #19B36A #1D19B3 #B31962
square
#AFB319 #19B36A #1D19B3 #B31962
split-complementary
#AFB319 #1962B3 #6A19B3
monochromatic
#46480A #7B7D12 #AFB319 #DCE128 #E5E85E

Accessibility & contrast

On white

2.26
#AFB319 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#AFB319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB319
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB319#FFFFFF#000000##000000
##AFB3191.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C3AE2B
Tritanopia (blue-blind)
#BCA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb319;
/* rgb */ color: rgb(175, 179, 25);
/* oklch */ color: oklch(73.9% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbc969',
    500: '#afb319',
    950: '#000000',
  },
}
SCSS
$custom: #afb319;
$custom-light: #cbc969;
$custom-dark: #000000;
JSON
{
  "hex": "#afb319",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 61.558,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.15749,
    "h": 111.3
  },
  "luminance": 0.41424
}

Semantic roles & 50–950 ramp

primary
#AFB319
secondary
#5E5BCC
accent
#36F23B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #AFB319

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

Preview Lab → · Contrast checker → · Palette generator →

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