#AFB352#AFB352

#AFB352 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.121 H 111.2°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#AFB352
RGBrgb(175, 179, 82)
HSLhsl(62, 39%, 51%)
HSVhsv(62, 54%, 70%)
CMYKcmyk(2.2%, 0%, 54.2%, 29.8%)
CIE-LABlab(70.85, -14.86, 48.26)
CIE-LCHlch(70.85, 50.50, 107.11°)
OKLaboklab(74.35% -0.0436 0.1127)
OKLCHoklch(74.35% 0.121 111.2)
XYZxyz(35.3231, 41.9641, 14.2201)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB352 #5652B3
analogous
#B38652 #AFB352 #7EB352
triadic
#AFB352 #52AFB3 #B352AF
tetradic
#AFB352 #52B386 #5652B3 #B3527E
square
#AFB352 #52B386 #5652B3 #B3527E
split-complementary
#AFB352 #527EB3 #8652B3
monochromatic
#5E602A #888B3D #AFB352 #C3C67D #D6D8A7

Accessibility & contrast

On white

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

On black

9.39
#AFB352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB352
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB352#FFFFFF#000000##000000
##AFB3521.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC48
Deuteranopia (green-blind)
#C0AF57
Tritanopia (blue-blind)
#BAA99D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb352;
/* rgb */ color: rgb(175, 179, 82);
/* oklch */ color: oklch(74.4% 0.121 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c986',
    500: '#afb352',
    950: '#000000',
  },
}
SCSS
$custom: #afb352;
$custom-light: #c9c986;
$custom-dark: #000000;
JSON
{
  "hex": "#afb352",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 62.474,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74352,
    "c": 0.12086,
    "h": 111.2
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

primary
#AFB352
secondary
#9D9BC6
accent
#59CF5E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB352

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

Preview Lab → · Contrast checker → · Palette generator →

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