#AFCF65#AFCF65

#AFCF65 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.138 H 123.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#AFCF65
RGBrgb(175, 207, 101)
HSLhsl(78, 52%, 60%)
HSVhsv(78, 51%, 81%)
CMYKcmyk(15.5%, 0%, 51.2%, 18.8%)
CIE-LABlab(78.86, -27.00, 48.67)
CIE-LCHlch(78.86, 55.65, 119.02°)
OKLaboklab(80.84% -0.076 0.1154)
OKLCHoklch(80.84% 0.138 123.4)
XYZxyz(42.3411, 54.6790, 20.6329)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF65 #8565CF
analogous
#CFBA65 #AFCF65 #7ACF65
triadic
#AFCF65 #65AFCF #CF65AF
tetradic
#AFCF65 #65CFBA #8565CF #CF657A
square
#AFCF65 #65CFBA #8565CF #CF657A
split-complementary
#AFCF65 #657ACF #BA65CF
monochromatic
#708D2C #95BC3B #AFCF65 #C7DE94 #DFECC2

Accessibility & contrast

On white

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

On black

11.94
#AFCF65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF65
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF65#FFFFFF#000000##000000
##AFCF651.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45B
Deuteranopia (green-blind)
#D5C36B
Tritanopia (blue-blind)
#B6C6B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf65;
/* rgb */ color: rgb(175, 207, 101);
/* oklch */ color: oklch(80.8% 0.138 123.4);
Tailwind
colors: {
  custom: {
    50: '#c9dd93',
    500: '#afcf65',
    950: '#000000',
  },
}
SCSS
$custom: #afcf65;
$custom-light: #c9dd93;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf65",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 101
  },
  "hsl": {
    "h": 78.113,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80838,
    "c": 0.13819,
    "h": 123.4
  },
  "luminance": 0.54679
}

Semantic roles & 50–950 ramp

primary
#AFCF65
secondary
#5C4494
accent
#26C054
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF65

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

Preview Lab → · Contrast checker → · Palette generator →

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