#AFB752#AFB752

#AFB752 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.126 H 113.2°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#AFB752
RGBrgb(175, 183, 82)
HSLhsl(65, 41%, 52%)
HSVhsv(65, 55%, 72%)
CMYKcmyk(4.4%, 0%, 55.2%, 28.2%)
CIE-LABlab(71.95, -16.89, 49.53)
CIE-LCHlch(71.95, 52.33, 108.83°)
OKLaboklab(75.24% -0.0494 0.1155)
OKLCHoklch(75.24% 0.126 113.2)
XYZxyz(36.1364, 43.5908, 14.4912)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB752 #5A52B7
analogous
#B78C52 #AFB752 #7DB752
triadic
#AFB752 #52AFB7 #B752AF
tetradic
#AFB752 #52B78C #5A52B7 #B7527D
square
#AFB752 #52B78C #5A52B7 #B7527D
split-complementary
#AFB752 #527DB7 #8C52B7
monochromatic
#60652A #89903C #AFB752 #C3C97D #D7DBA8

Accessibility & contrast

On white

2.16
#AFB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#AFB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB752
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB752#FFFFFF#000000##000000
##AFB7521.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C3B258
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb752;
/* rgb */ color: rgb(175, 183, 82);
/* oklch */ color: oklch(75.2% 0.126 113.2);
Tailwind
colors: {
  custom: {
    50: '#c9cc86',
    500: '#afb752',
    950: '#000000',
  },
}
SCSS
$custom: #afb752;
$custom-light: #c9cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#afb752",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 64.752,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.12557,
    "h": 113.2
  },
  "luminance": 0.4359
}

Semantic roles & 50–950 ramp

primary
#AFB752
secondary
#A09CC9
accent
#57D160
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB752

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

Preview Lab → · Contrast checker → · Palette generator →

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