#AFCE4B#AFCE4B

#AFCE4B is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.3% C 0.160 H 121.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#AFCE4B
RGBrgb(175, 206, 75)
HSLhsl(74, 57%, 55%)
HSVhsv(74, 64%, 81%)
CMYKcmyk(15%, 0%, 63.6%, 19.2%)
CIE-LABlab(78.32, -28.71, 59.63)
CIE-LCHlch(78.32, 66.18, 115.71°)
OKLaboklab(80.33% -0.0832 0.1361)
OKLCHoklch(80.33% 0.16 121.4)
XYZxyz(41.0210, 53.7646, 14.8718)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE4B #6A4BCE
analogous
#CEAB4B #AFCE4B #6ECE4B
triadic
#AFCE4B #4BAFCE #CE4BAF
tetradic
#AFCE4B #4BCEAB #6A4BCE #CE4B6E
square
#AFCE4B #4BCEAB #6A4BCE #CE4B6E
split-complementary
#AFCE4B #4B6ECE #AB4BCE
monochromatic
#677D22 #8FAD2F #AFCE4B #C4DB7B #DAE8AB

Accessibility & contrast

On white

1.79
#AFCE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#AFCE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE4B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE4B#FFFFFF#000000##000000
##AFCE4B1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23A
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce4b;
/* rgb */ color: rgb(175, 206, 75);
/* oklch */ color: oklch(80.3% 0.160 121.4);
Tailwind
colors: {
  custom: {
    50: '#cadd83',
    500: '#afce4b',
    950: '#000000',
  },
}
SCSS
$custom: #afce4b;
$custom-light: #cadd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afce4b",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 74.198,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80329,
    "c": 0.1595,
    "h": 121.4
  },
  "luminance": 0.53765
}

Semantic roles & 50–950 ramp

primary
#AFCE4B
secondary
#4B3984
accent
#47E06C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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