#AFBB44#AFBB44

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

Color values

HEX#AFBB44
RGBrgb(175, 187, 68)
HSLhsl(66, 47%, 50%)
HSVhsv(66, 64%, 73%)
CMYKcmyk(6.4%, 0%, 63.6%, 26.7%)
CIE-LABlab(72.94, -19.95, 56.81)
CIE-LCHlch(72.94, 60.21, 109.35°)
OKLaboklab(75.99% -0.0595 0.1291)
OKLCHoklch(75.99% 0.142 114.7)
XYZxyz(36.4938, 45.0726, 12.2451)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB44 #5044BB
analogous
#BB8B44 #AFBB44 #74BB44
triadic
#AFBB44 #44AFBB #BB44AF
tetradic
#AFBB44 #44BB8B #5044BB #BB4474
square
#AFBB44 #44BB8B #5044BB #BB4474
split-complementary
#AFBB44 #4474BB #8B44BB
monochromatic
#5B6123 #858E34 #AFBB44 #C2CB71 #D5DC9E

Accessibility & contrast

On white

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

On black

10.01
#AFBB44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB44
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB44#FFFFFF#000000##000000
##AFBB441.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B235
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb44;
/* rgb */ color: rgb(175, 187, 68);
/* oklch */ color: oklch(76.0% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#cacf7e',
    500: '#afbb44',
    950: '#000000',
  },
}
SCSS
$custom: #afbb44;
$custom-light: #cacf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb44",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 68
  },
  "hsl": {
    "h": 66.05,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.75985,
    "c": 0.14217,
    "h": 114.7
  },
  "luminance": 0.45072
}

Semantic roles & 50–950 ramp

primary
#AFBB44
secondary
#9893C8
accent
#51D65F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB44

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

Preview Lab → · Contrast checker → · Palette generator →

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