#AFB433#AFB433

#AFB433 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.146 H 111.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#AFB433
RGBrgb(175, 180, 51)
HSLhsl(62, 56%, 45%)
HSVhsv(62, 72%, 71%)
CMYKcmyk(2.8%, 0%, 71.7%, 29.4%)
CIE-LABlab(70.87, -17.42, 61.33)
CIE-LCHlch(70.87, 63.76, 105.86°)
OKLaboklab(74.29% -0.0541 0.1359)
OKLCHoklch(74.29% 0.146 111.7)
XYZxyz(34.5991, 41.9964, 9.4148)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB433 #3833B4
analogous
#B47933 #AFB433 #6EB433
triadic
#AFB433 #33AFB4 #B433AF
tetradic
#AFB433 #33B479 #3833B4 #B4336E
square
#AFB433 #33B479 #3833B4 #B4336E
split-complementary
#AFB433 #336EB4 #7933B4
monochromatic
#525518 #818425 #AFB433 #CACF55 #D9DC85

Accessibility & contrast

On white

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

On black

9.40
#AFB433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB433
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB433#FFFFFF#000000##000000
##AFB4331.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#BBA99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb433;
/* rgb */ color: rgb(175, 180, 51);
/* oklch */ color: oklch(74.3% 0.146 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca74',
    500: '#afb433',
    950: '#000000',
  },
}
SCSS
$custom: #afb433;
$custom-light: #caca74;
$custom-dark: #000000;
JSON
{
  "hex": "#afb433",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 62.326,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74288,
    "c": 0.14631,
    "h": 111.7
  },
  "luminance": 0.41995
}

Semantic roles & 50–950 ramp

primary
#AFB433
secondary
#807DC6
accent
#49DF4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB433

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

Preview Lab → · Contrast checker → · Palette generator →

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