#AFCB58#AFCB58

#AFCB58 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.8% C 0.145 H 121.2°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFCB58
RGBrgb(175, 203, 88)
HSLhsl(75, 53%, 57%)
HSVhsv(75, 57%, 80%)
CMYKcmyk(13.8%, 0%, 56.7%, 20.4%)
CIE-LABlab(77.60, -26.27, 53.22)
CIE-LCHlch(77.60, 59.35, 116.27°)
OKLaboklab(79.78% -0.0752 0.124)
OKLCHoklch(79.78% 0.145 121.2)
XYZxyz(40.7970, 52.5304, 17.2208)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB58 #7458CB
analogous
#CBAE58 #AFCB58 #76CB58
triadic
#AFCB58 #58AFCB #CB58AF
tetradic
#AFCB58 #58CBAE #7458CB #CB5876
square
#AFCB58 #58CBAE #7458CB #CB5876
split-complementary
#AFCB58 #5876CB #AE58CB
monochromatic
#6B8128 #92AF37 #AFCB58 #C5DA87 #DCE8B5

Accessibility & contrast

On white

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

On black

11.51
#AFCB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB58
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB58#FFFFFF#000000##000000
##AFCB581.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#B7C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb58;
/* rgb */ color: rgb(175, 203, 88);
/* oklch */ color: oklch(79.8% 0.145 121.2);
Tailwind
colors: {
  custom: {
    50: '#c9da8b',
    500: '#afcb58',
    950: '#000000',
  },
}
SCSS
$custom: #afcb58;
$custom-light: #c9da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb58",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 74.609,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79781,
    "c": 0.14501,
    "h": 121.2
  },
  "luminance": 0.5253
}

Semantic roles & 50–950 ramp

primary
#AFCB58
secondary
#513F88
accent
#4CDC6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCB58

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

Preview Lab → · Contrast checker → · Palette generator →

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