#AFCF53#AFCF53

#AFCF53 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.6% C 0.154 H 122.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#AFCF53
RGBrgb(175, 207, 83)
HSLhsl(75, 56%, 57%)
HSVhsv(75, 60%, 81%)
CMYKcmyk(15.5%, 0%, 59.9%, 18.8%)
CIE-LABlab(78.67, -28.59, 56.63)
CIE-LCHlch(78.67, 63.44, 116.79°)
OKLaboklab(80.63% -0.0821 0.1307)
OKLCHoklch(80.63% 0.154 122.1)
XYZxyz(41.5537, 54.3641, 16.4861)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF53 #7353CF
analogous
#CFB153 #AFCF53 #71CF53
triadic
#AFCF53 #53AFCF #CF53AF
tetradic
#AFCF53 #53CFB1 #7353CF #CF5371
square
#AFCF53 #53CFB1 #7353CF #CF5371
split-complementary
#AFCF53 #5371CF #B153CF
monochromatic
#6B8325 #92B332 #AFCF53 #C5DC83 #DCEAB3

Accessibility & contrast

On white

1.77
#AFCF53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#AFCF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF53
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF53#FFFFFF#000000##000000
##AFCF531.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC345
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf53;
/* rgb */ color: rgb(175, 207, 83);
/* oklch */ color: oklch(80.6% 0.154 122.1);
Tailwind
colors: {
  custom: {
    50: '#c9dd88',
    500: '#afcf53',
    950: '#000000',
  },
}
SCSS
$custom: #afcf53;
$custom-light: #c9dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf53",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 83
  },
  "hsl": {
    "h": 75.484,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80632,
    "c": 0.15439,
    "h": 122.1
  },
  "luminance": 0.54364
}

Semantic roles & 50–950 ramp

primary
#AFCF53
secondary
#503C8A
accent
#48E06F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF53

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

Preview Lab → · Contrast checker → · Palette generator →

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