#AFB832#AFB832

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

Color values

HEX#AFB832
RGBrgb(175, 184, 50)
HSLhsl(64, 57%, 46%)
HSVhsv(64, 73%, 72%)
CMYKcmyk(4.9%, 0%, 72.8%, 27.8%)
CIE-LABlab(71.98, -19.48, 62.75)
CIE-LCHlch(71.98, 65.71, 107.25°)
OKLaboklab(75.18% -0.0599 0.1388)
OKLCHoklch(75.18% 0.151 113.4)
XYZxyz(35.3965, 43.6260, 9.5730)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB832 #3B32B8
analogous
#B87E32 #AFB832 #6CB832
triadic
#AFB832 #32AFB8 #B832AF
tetradic
#AFB832 #32B87E #3B32B8 #B8326C
square
#AFB832 #32B87E #3B32B8 #B8326C
split-complementary
#AFB832 #326CB8 #7E32B8
monochromatic
#535818 #818825 #AFB832 #C9D156 #D8DE86

Accessibility & contrast

On white

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

On black

9.73
#AFB832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB832
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB832#FFFFFF#000000##000000
##AFB8321.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF17
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#BBAD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb832;
/* rgb */ color: rgb(175, 184, 50);
/* oklch */ color: oklch(75.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd74',
    500: '#afb832',
    950: '#000000',
  },
}
SCSS
$custom: #afb832;
$custom-light: #cacd74;
$custom-dark: #000000;
JSON
{
  "hex": "#afb832",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 64.03,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.15115,
    "h": 113.4
  },
  "luminance": 0.43625
}

Semantic roles & 50–950 ramp

primary
#AFB832
secondary
#837EC8
accent
#47E152
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB832

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

Preview Lab → · Contrast checker → · Palette generator →

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