#AFCF4B#AFCF4B

#AFCF4B is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.6% C 0.161 H 121.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#AFCF4B
RGBrgb(175, 207, 75)
HSLhsl(75, 58%, 55%)
HSVhsv(75, 64%, 81%)
CMYKcmyk(15.5%, 0%, 63.8%, 18.8%)
CIE-LABlab(78.61, -29.19, 59.93)
CIE-LCHlch(78.61, 66.66, 115.97°)
OKLaboklab(80.56% -0.0845 0.1367)
OKLCHoklch(80.56% 0.161 121.7)
XYZxyz(41.2625, 54.2476, 14.9523)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF4B #6B4BCF
analogous
#CFAD4B #AFCF4B #6DCF4B
triadic
#AFCF4B #4BAFCF #CF4BAF
tetradic
#AFCF4B #4BCFAD #6B4BCF #CF4B6D
square
#AFCF4B #4BCFAD #6B4BCF #CF4B6D
split-complementary
#AFCF4B #4B6DCF #AD4BCF
monochromatic
#687E22 #8FAE2E #AFCF4B #C4DC7B #DAE9AC

Accessibility & contrast

On white

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

On black

11.85
#AFCF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF4B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF4B#FFFFFF#000000##000000
##AFCF4B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33A
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf4b;
/* rgb */ color: rgb(175, 207, 75);
/* oklch */ color: oklch(80.6% 0.161 121.7);
Tailwind
colors: {
  custom: {
    50: '#cadd83',
    500: '#afcf4b',
    950: '#000000',
  },
}
SCSS
$custom: #afcf4b;
$custom-light: #cadd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf4b",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 74.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.16073,
    "h": 121.7
  },
  "luminance": 0.54248
}

Semantic roles & 50–950 ramp

primary
#AFCF4B
secondary
#4B3986
accent
#47E16C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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