#AFBC43#AFBC43

#AFBC43 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.2% C 0.144 H 115.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#AFBC43
RGBrgb(175, 188, 67)
HSLhsl(66, 47%, 50%)
HSVhsv(66, 64%, 74%)
CMYKcmyk(6.9%, 0%, 64.4%, 26.3%)
CIE-LABlab(73.21, -20.51, 57.51)
CIE-LCHlch(73.21, 61.06, 109.63°)
OKLaboklab(76.2% -0.0611 0.1305)
OKLCHoklch(76.2% 0.144 115.1)
XYZxyz(36.6764, 45.4862, 12.1567)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC43 #5043BC
analogous
#BC8C43 #AFBC43 #73BC43
triadic
#AFBC43 #43AFBC #BC43AF
tetradic
#AFBC43 #43BC8C #5043BC #BC4373
square
#AFBC43 #43BC8C #5043BC #BC4373
split-complementary
#AFBC43 #4373BC #8C43BC
monochromatic
#5B6223 #858F33 #AFBC43 #C2CC70 #D5DC9D

Accessibility & contrast

On white

2.08
#AFBC43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#AFBC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC43
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC43#FFFFFF#000000##000000
##AFBC431.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B333
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc43;
/* rgb */ color: rgb(175, 188, 67);
/* oklch */ color: oklch(76.2% 0.144 115.1);
Tailwind
colors: {
  custom: {
    50: '#cad07d',
    500: '#afbc43',
    950: '#000000',
  },
}
SCSS
$custom: #afbc43;
$custom-light: #cad07d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc43",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 67
  },
  "hsl": {
    "h": 66.446,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.762,
    "c": 0.14409,
    "h": 115.1
  },
  "luminance": 0.45486
}

Semantic roles & 50–950 ramp

primary
#AFBC43
secondary
#9892C9
accent
#51D75F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC43

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

Preview Lab → · Contrast checker → · Palette generator →

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