#AFB429#AFB429

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

Color values

HEX#AFB429
RGBrgb(175, 180, 41)
HSLhsl(62, 63%, 43%)
HSVhsv(62, 77%, 71%)
CMYKcmyk(2.8%, 0%, 77.2%, 29.4%)
CIE-LABlab(70.81, -17.87, 64.62)
CIE-LCHlch(70.81, 67.04, 105.46°)
OKLaboklab(74.23% -0.0562 0.1411)
OKLCHoklch(74.23% 0.152 111.7)
XYZxyz(34.4019, 41.9175, 8.3761)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB429 #2E29B4
analogous
#B47329 #AFB429 #69B429
triadic
#AFB429 #29AFB4 #B429AF
tetradic
#AFB429 #29B473 #2E29B4 #B42969
square
#AFB429 #29B473 #2E29B4 #B42969
split-complementary
#AFB429 #2969B4 #7329B4
monochromatic
#4E5012 #7F821E #AFB429 #D0D545 #DCE077

Accessibility & contrast

On white

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

On black

9.38
#AFB429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB429
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB429#FFFFFF#000000##000000
##AFB4291.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#BBA99A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb429;
/* rgb */ color: rgb(175, 180, 41);
/* oklch */ color: oklch(74.2% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cbca6f',
    500: '#afb429',
    950: '#000000',
  },
}
SCSS
$custom: #afb429;
$custom-light: #cbca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb429",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 41
  },
  "hsl": {
    "h": 62.158,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.1519,
    "h": 111.7
  },
  "luminance": 0.41917
}

Semantic roles & 50–950 ramp

primary
#AFB429
secondary
#7471C8
accent
#42E648
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB429

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

Preview Lab → · Contrast checker → · Palette generator →

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