#AFBB43#AFBB43

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

Color values

HEX#AFBB43
RGBrgb(175, 187, 67)
HSLhsl(66, 47%, 50%)
HSVhsv(66, 64%, 73%)
CMYKcmyk(6.4%, 0%, 64.2%, 26.7%)
CIE-LABlab(72.93, -20.02, 57.21)
CIE-LCHlch(72.93, 60.61, 109.28°)
OKLaboklab(75.98% -0.0597 0.1299)
OKLCHoklch(75.98% 0.143 114.7)
XYZxyz(36.4635, 45.0605, 12.0858)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB43 #4F43BB
analogous
#BB8B43 #AFBB43 #73BB43
triadic
#AFBB43 #43AFBB #BB43AF
tetradic
#AFBB43 #43BB8B #4F43BB #BB4373
square
#AFBB43 #43BB8B #4F43BB #BB4373
split-complementary
#AFBB43 #4373BB #8B43BB
monochromatic
#5B6123 #858E33 #AFBB43 #C2CC70 #D5DC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB43#FFFFFF#000000##000000
##AFBB431.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)
#C8B233
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb43;
/* rgb */ color: rgb(175, 187, 67);
/* oklch */ color: oklch(76.0% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#cacf7d',
    500: '#afbb43',
    950: '#000000',
  },
}
SCSS
$custom: #afbb43;
$custom-light: #cacf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb43",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 67
  },
  "hsl": {
    "h": 66,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75976,
    "c": 0.14293,
    "h": 114.7
  },
  "luminance": 0.4506
}

Semantic roles & 50–950 ramp

primary
#AFBB43
secondary
#9792C8
accent
#51D75E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB43

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

Preview Lab → · Contrast checker → · Palette generator →

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