#AFBB46#AFBB46

#AFBB46 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.141 H 114.8°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#AFBB46
RGBrgb(175, 187, 70)
HSLhsl(66, 46%, 50%)
HSVhsv(66, 63%, 73%)
CMYKcmyk(6.4%, 0%, 62.6%, 26.7%)
CIE-LABlab(72.96, -19.81, 55.98)
CIE-LCHlch(72.96, 59.39, 109.49°)
OKLaboklab(76% -0.0589 0.1277)
OKLCHoklch(76% 0.141 114.8)
XYZxyz(36.5559, 45.0974, 12.5721)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB46 #5246BB
analogous
#BB8C46 #AFBB46 #74BB46
triadic
#AFBB46 #46AFBB #BB46AF
tetradic
#AFBB46 #46BB8C #5246BB #BB4674
square
#AFBB46 #46BB8C #5246BB #BB4674
split-complementary
#AFBB46 #4674BB #8C46BB
monochromatic
#5C6224 #868F35 #AFBB46 #C2CB73 #D6DCA0

Accessibility & contrast

On white

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

On black

10.02
#AFBB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB46
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB46#FFFFFF#000000##000000
##AFBB461.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb46;
/* rgb */ color: rgb(175, 187, 70);
/* oklch */ color: oklch(76.0% 0.141 114.8);
Tailwind
colors: {
  custom: {
    50: '#cacf7f',
    500: '#afbb46',
    950: '#000000',
  },
}
SCSS
$custom: #afbb46;
$custom-light: #cacf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb46",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 66.154,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76003,
    "c": 0.1406,
    "h": 114.8
  },
  "luminance": 0.45097
}

Semantic roles & 50–950 ramp

primary
#AFBB46
secondary
#9A94C8
accent
#52D65F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB46

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

Preview Lab → · Contrast checker → · Palette generator →

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