#AFCF61#AFCF61

#AFCF61 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.142 H 123.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCF61
RGBrgb(175, 207, 97)
HSLhsl(77, 53%, 60%)
HSVhsv(77, 53%, 81%)
CMYKcmyk(15.5%, 0%, 53.1%, 18.8%)
CIE-LABlab(78.81, -27.38, 50.49)
CIE-LCHlch(78.81, 57.44, 118.47°)
OKLaboklab(80.79% -0.0775 0.119)
OKLCHoklch(80.79% 0.142 123.1)
XYZxyz(42.1499, 54.6025, 19.6257)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF61 #8161CF
analogous
#CFB861 #AFCF61 #78CF61
triadic
#AFCF61 #61AFCF #CF61AF
tetradic
#AFCF61 #61CFB8 #8161CF #CF6178
square
#AFCF61 #61CFB8 #8161CF #CF6178
split-complementary
#AFCF61 #6178CF #B861CF
monochromatic
#6F8B2A #95BA39 #AFCF61 #C7DD90 #DFECBF

Accessibility & contrast

On white

1.76
#AFCF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF61
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF61#FFFFFF#000000##000000
##AFCF611.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC456
Deuteranopia (green-blind)
#D5C368
Tritanopia (blue-blind)
#B6C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf61;
/* rgb */ color: rgb(175, 207, 97);
/* oklch */ color: oklch(80.8% 0.142 123.1);
Tailwind
colors: {
  custom: {
    50: '#c9dd91',
    500: '#afcf61',
    950: '#000000',
  },
}
SCSS
$custom: #afcf61;
$custom-light: #c9dd91;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf61",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 97
  },
  "hsl": {
    "h": 77.455,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.142,
    "h": 123.1
  },
  "luminance": 0.54603
}

Semantic roles & 50–950 ramp

primary
#AFCF61
secondary
#5A4292
accent
#4BDD75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF61

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

Preview Lab → · Contrast checker → · Palette generator →

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