#AFCB52#AFCB52

#AFCB52 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.7% C 0.150 H 120.9°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#AFCB52
RGBrgb(175, 203, 82)
HSLhsl(74, 54%, 56%)
HSVhsv(74, 60%, 80%)
CMYKcmyk(13.8%, 0%, 59.6%, 20.4%)
CIE-LABlab(77.54, -26.76, 55.81)
CIE-LCHlch(77.54, 61.90, 115.62°)
OKLaboklab(79.72% -0.0771 0.1289)
OKLCHoklch(79.72% 0.15 120.9)
XYZxyz(40.5586, 52.4351, 15.9653)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB52 #6E52CB
analogous
#CBAA52 #AFCB52 #72CB52
triadic
#AFCB52 #52AFCB #CB52AF
tetradic
#AFCB52 #52CBAA #6E52CB #CB5272
square
#AFCB52 #52CBAA #6E52CB #CB5272
split-complementary
#AFCB52 #5272CB #AA52CB
monochromatic
#697D26 #90AC34 #AFCB52 #C5D981 #DBE7B0

Accessibility & contrast

On white

1.83
#AFCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#AFCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB52
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB52#FFFFFF#000000##000000
##AFCB521.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#B8C1B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb52;
/* rgb */ color: rgb(175, 203, 82);
/* oklch */ color: oklch(79.7% 0.150 120.9);
Tailwind
colors: {
  custom: {
    50: '#c9da87',
    500: '#afcb52',
    950: '#000000',
  },
}
SCSS
$custom: #afcb52;
$custom-light: #c9da87;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb52",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 73.884,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79717,
    "c": 0.15018,
    "h": 120.9
  },
  "luminance": 0.52435
}

Semantic roles & 50–950 ramp

primary
#AFCB52
secondary
#4D3C85
accent
#4BDD6D
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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