#AFB329#AFB329

#AFB329 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.151 H 111.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#AFB329
RGBrgb(175, 179, 41)
HSLhsl(62, 63%, 43%)
HSVhsv(62, 77%, 70%)
CMYKcmyk(2.2%, 0%, 77.1%, 29.8%)
CIE-LABlab(70.54, -17.36, 64.37)
CIE-LCHlch(70.54, 66.67, 105.10°)
OKLaboklab(74% -0.0548 0.1406)
OKLCHoklch(74% 0.151 111.3)
XYZxyz(34.2007, 41.5152, 8.3090)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB329 #2D29B3
analogous
#B37229 #AFB329 #6AB329
triadic
#AFB329 #29AFB3 #B329AF
tetradic
#AFB329 #29B372 #2D29B3 #B3296A
square
#AFB329 #29B372 #2D29B3 #B3296A
split-complementary
#AFB329 #296AB3 #7229B3
monochromatic
#4E4F12 #7E811E #AFB329 #D0D445 #DDE077

Accessibility & contrast

On white

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

On black

9.30
#AFB329 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB329
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB329#FFFFFF#000000##000000
##AFB3291.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#BBA899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb329;
/* rgb */ color: rgb(175, 179, 41);
/* oklch */ color: oklch(74.0% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbc96f',
    500: '#afb329',
    950: '#000000',
  },
}
SCSS
$custom: #afb329;
$custom-light: #cbc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb329",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 41
  },
  "hsl": {
    "h": 61.739,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.15088,
    "h": 111.3
  },
  "luminance": 0.41514
}

Semantic roles & 50–950 ramp

primary
#AFB329
secondary
#7370C7
accent
#42E647
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB329

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

Preview Lab → · Contrast checker → · Palette generator →

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