#AFB041#AFB041

#AFB041 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.132 H 109.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AFB041
RGBrgb(175, 176, 65)
HSLhsl(61, 46%, 47%)
HSVhsv(61, 63%, 69%)
CMYKcmyk(0.6%, 0%, 63.1%, 31%)
CIE-LABlab(69.86, -14.58, 54.81)
CIE-LCHlch(69.86, 56.71, 104.90°)
OKLaboklab(73.51% -0.0447 0.1245)
OKLCHoklch(73.51% 0.132 109.7)
XYZxyz(34.1597, 40.5472, 11.0270)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB041 #4241B0
analogous
#B07A41 #AFB041 #77B041
triadic
#AFB041 #41AFB0 #B041AF
tetradic
#AFB041 #41B07A #4241B0 #B04177
square
#AFB041 #41B07A #4241B0 #B04177
split-complementary
#AFB041 #4177B0 #7A41B0
monochromatic
#565720 #838330 #AFB041 #C6C767 #D7D794

Accessibility & contrast

On white

2.31
#AFB041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#AFB041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB041
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB041#FFFFFF#000000##000000
##AFB0411.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA933
Deuteranopia (green-blind)
#BFAC48
Tritanopia (blue-blind)
#BBA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb041;
/* rgb */ color: rgb(175, 176, 65);
/* oklch */ color: oklch(73.5% 0.132 109.7);
Tailwind
colors: {
  custom: {
    50: '#cac77b',
    500: '#afb041',
    950: '#000000',
  },
}
SCSS
$custom: #afb041;
$custom-light: #cac77b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb041",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 60.541,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.13225,
    "h": 109.7
  },
  "luminance": 0.40546
}

Semantic roles & 50–950 ramp

primary
#AFB041
secondary
#8A8AC3
accent
#52D653
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB041

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

Preview Lab → · Contrast checker → · Palette generator →

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