#AFCF3B#AFCF3B

#AFCF3B is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.4% C 0.172 H 121.1°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#AFCF3B
RGBrgb(175, 207, 59)
HSLhsl(73, 61%, 52%)
HSVhsv(73, 71%, 81%)
CMYKcmyk(15.5%, 0%, 71.5%, 18.8%)
CIE-LABlab(78.49, -30.18, 65.92)
CIE-LCHlch(78.49, 72.50, 114.60°)
OKLaboklab(80.43% -0.0887 0.1469)
OKLCHoklch(80.43% 0.172 121.1)
XYZxyz(40.7821, 54.0554, 12.4221)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF3B #5B3BCF
analogous
#CFA53B #AFCF3B #65CF3B
triadic
#AFCF3B #3BAFCF #CF3BAF
tetradic
#AFCF3B #3BCFA5 #5B3BCF #CF3B65
square
#AFCF3B #3BCFA5 #5B3BCF #CF3B65
split-complementary
#AFCF3B #3B65CF #A53BCF
monochromatic
#61731C #8AA528 #AFCF3B #C3DB6C #D7E79D

Accessibility & contrast

On white

1.78
#AFCF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#AFCF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF3B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF3B#FFFFFF#000000##000000
##AFCF3B1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC320
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#B9C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf3b;
/* rgb */ color: rgb(175, 207, 59);
/* oklch */ color: oklch(80.4% 0.172 121.1);
Tailwind
colors: {
  custom: {
    50: '#cadd7b',
    500: '#afcf3b',
    950: '#000000',
  },
}
SCSS
$custom: #afcf3b;
$custom-light: #cadd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf3b",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 72.973,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8043,
    "c": 0.17165,
    "h": 121.1
  },
  "luminance": 0.54055
}

Semantic roles & 50–950 ramp

primary
#AFCF3B
secondary
#42327C
accent
#44E467
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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