#AFBC44#AFBC44

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

Color values

HEX#AFBC44
RGBrgb(175, 188, 68)
HSLhsl(67, 47%, 50%)
HSVhsv(67, 64%, 74%)
CMYKcmyk(6.9%, 0%, 63.8%, 26.3%)
CIE-LABlab(73.22, -20.45, 57.10)
CIE-LCHlch(73.22, 60.65, 109.70°)
OKLaboklab(76.21% -0.0608 0.1298)
OKLCHoklch(76.21% 0.143 115.1)
XYZxyz(36.7067, 45.4983, 12.3161)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC44 #5144BC
analogous
#BC8D44 #AFBC44 #73BC44
triadic
#AFBC44 #44AFBC #BC44AF
tetradic
#AFBC44 #44BC8D #5144BC #BC4473
square
#AFBC44 #44BC8D #5144BC #BC4473
split-complementary
#AFBC44 #4473BC #8D44BC
monochromatic
#5C6223 #858F33 #AFBC44 #C2CC71 #D6DC9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC44#FFFFFF#000000##000000
##AFBC441.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)
#C9B334
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc44;
/* rgb */ color: rgb(175, 188, 68);
/* oklch */ color: oklch(76.2% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#cad07e',
    500: '#afbc44',
    950: '#000000',
  },
}
SCSS
$custom: #afbc44;
$custom-light: #cad07e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc44",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 68
  },
  "hsl": {
    "h": 66.5,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.14332,
    "h": 115.1
  },
  "luminance": 0.45498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBC44

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

Preview Lab → · Contrast checker → · Palette generator →

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