#AFBB39#AFBB39

#AFBB39 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.150 H 114.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFBB39
RGBrgb(175, 187, 57)
HSLhsl(66, 53%, 48%)
HSVhsv(66, 70%, 73%)
CMYKcmyk(6.4%, 0%, 69.5%, 26.7%)
CIE-LABlab(72.86, -20.62, 61.08)
CIE-LCHlch(72.86, 64.47, 108.65°)
OKLaboklab(75.9% -0.0624 0.1364)
OKLCHoklch(75.9% 0.15 114.6)
XYZxyz(36.1890, 44.9507, 10.6401)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB39 #4539BB
analogous
#BB8639 #AFBB39 #6EBB39
triadic
#AFBB39 #39AFBB #BB39AF
tetradic
#AFBB39 #39BB86 #4539BB #BB396E
square
#AFBB39 #39BB86 #4539BB #BB396E
split-complementary
#AFBB39 #396EBB #8639BB
monochromatic
#575D1C #838C2B #AFBB39 #C5CF62 #D6DD91

Accessibility & contrast

On white

2.10
#AFBB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFBB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB39
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB39#FFFFFF#000000##000000
##AFBB391.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B224
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb39;
/* rgb */ color: rgb(175, 187, 57);
/* oklch */ color: oklch(75.9% 0.150 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf77',
    500: '#afbb39',
    950: '#000000',
  },
}
SCSS
$custom: #afbb39;
$custom-light: #cacf77;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb39",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 65.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75895,
    "c": 0.15005,
    "h": 114.6
  },
  "luminance": 0.4495
}

Semantic roles & 50–950 ramp

primary
#AFBB39
secondary
#8D87C8
accent
#4BDD59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB39

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

Preview Lab → · Contrast checker → · Palette generator →

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