#AFCB41#AFCB41

#AFCB41 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.6% C 0.163 H 120.2°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#AFCB41
RGBrgb(175, 203, 65)
HSLhsl(72, 57%, 53%)
HSVhsv(72, 68%, 80%)
CMYKcmyk(13.8%, 0%, 68%, 20.4%)
CIE-LABlab(77.40, -27.94, 62.64)
CIE-LCHlch(77.40, 68.59, 114.04°)
OKLaboklab(79.57% -0.082 0.141)
OKLCHoklch(79.57% 0.163 120.2)
XYZxyz(39.9899, 52.2076, 12.9704)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB41 #5D41CB
analogous
#CBA241 #AFCB41 #6ACB41
triadic
#AFCB41 #41AFCB #CB41AF
tetradic
#AFCB41 #41CBA2 #5D41CB #CB416A
square
#AFCB41 #41CBA2 #5D41CB #CB416A
split-complementary
#AFCB41 #416ACB #A241CB
monochromatic
#61721F #8AA22C #AFCB41 #C3D871 #D7E5A1

Accessibility & contrast

On white

1.84
#AFCB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#AFCB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB41
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB41#FFFFFF#000000##000000
##AFCB411.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2C
Deuteranopia (green-blind)
#D4C04C
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb41;
/* rgb */ color: rgb(175, 203, 65);
/* oklch */ color: oklch(79.6% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#cada7d',
    500: '#afcb41',
    950: '#000000',
  },
}
SCSS
$custom: #afcb41;
$custom-light: #cada7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb41",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 72.174,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79565,
    "c": 0.16309,
    "h": 120.2
  },
  "luminance": 0.52207
}

Semantic roles & 50–950 ramp

primary
#AFCB41
secondary
#43357B
accent
#48E067
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB41

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

Preview Lab → · Contrast checker → · Palette generator →

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