#AFB641#AFB641

#AFB641 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.139 H 112.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#AFB641
RGBrgb(175, 182, 65)
HSLhsl(64, 47%, 48%)
HSVhsv(64, 64%, 71%)
CMYKcmyk(3.8%, 0%, 64.3%, 28.6%)
CIE-LABlab(71.52, -17.64, 56.56)
CIE-LCHlch(71.52, 59.25, 107.32°)
OKLaboklab(74.84% -0.0533 0.1282)
OKLCHoklch(74.84% 0.139 112.6)
XYZxyz(35.3622, 42.9523, 11.4278)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB641 #4841B6
analogous
#B68241 #AFB641 #74B641
triadic
#AFB641 #41AFB6 #B641AF
tetradic
#AFB641 #41B682 #4841B6 #B64174
square
#AFB641 #41B682 #4841B6 #B64174
split-complementary
#AFB641 #4174B6 #8241B6
monochromatic
#585C21 #848931 #AFB641 #C4CA6A #D6DA97

Accessibility & contrast

On white

2.19
#AFB641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#AFB641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB641
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB641#FFFFFF#000000##000000
##AFB6411.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#C3B149
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb641;
/* rgb */ color: rgb(175, 182, 65);
/* oklch */ color: oklch(74.8% 0.139 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb7b',
    500: '#afb641',
    950: '#000000',
  },
}
SCSS
$custom: #afb641;
$custom-light: #cacb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb641",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 63.59,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.13881,
    "h": 112.6
  },
  "luminance": 0.42952
}

Semantic roles & 50–950 ramp

primary
#AFB641
secondary
#908DC6
accent
#51D759
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB641

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

Preview Lab → · Contrast checker → · Palette generator →

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