#AFCF58#AFCF58

#AFCF58 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.7% C 0.150 H 122.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#AFCF58
RGBrgb(175, 207, 88)
HSLhsl(76, 55%, 58%)
HSVhsv(76, 57%, 81%)
CMYKcmyk(15.5%, 0%, 57.5%, 18.8%)
CIE-LABlab(78.72, -28.18, 54.49)
CIE-LCHlch(78.72, 61.35, 117.35°)
OKLaboklab(80.68% -0.0805 0.1267)
OKLCHoklch(80.68% 0.15 122.4)
XYZxyz(41.7538, 54.4441, 17.5397)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF58 #7858CF
analogous
#CFB358 #AFCF58 #74CF58
triadic
#AFCF58 #58AFCF #CF58AF
tetradic
#AFCF58 #58CFB3 #7858CF #CF5874
square
#AFCF58 #58CFB3 #7858CF #CF5874
split-complementary
#AFCF58 #5874CF #B358CF
monochromatic
#6C8627 #93B634 #AFCF58 #C6DD88 #DDEAB7

Accessibility & contrast

On white

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

On black

11.89
#AFCF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF58
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF58#FFFFFF#000000##000000
##AFCF581.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44B
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#B7C6B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf58;
/* rgb */ color: rgb(175, 207, 88);
/* oklch */ color: oklch(80.7% 0.150 122.4);
Tailwind
colors: {
  custom: {
    50: '#c9dd8b',
    500: '#afcf58',
    950: '#000000',
  },
}
SCSS
$custom: #afcf58;
$custom-light: #c9dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf58",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 76.134,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80684,
    "c": 0.15015,
    "h": 122.4
  },
  "luminance": 0.54444
}

Semantic roles & 50–950 ramp

primary
#AFCF58
secondary
#533E8D
accent
#49DF71
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF58

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

Preview Lab → · Contrast checker → · Palette generator →

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