#AFCF59#AFCF59

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

Color values

HEX#AFCF59
RGBrgb(175, 207, 89)
HSLhsl(76, 55%, 58%)
HSVhsv(76, 57%, 81%)
CMYKcmyk(15.5%, 0%, 57%, 18.8%)
CIE-LABlab(78.73, -28.10, 54.05)
CIE-LCHlch(78.73, 60.92, 117.47°)
OKLaboklab(80.69% -0.0802 0.1259)
OKLCHoklch(80.69% 0.149 122.5)
XYZxyz(41.7955, 54.4608, 17.7594)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF59 #7959CF
analogous
#CFB459 #AFCF59 #74CF59
triadic
#AFCF59 #59AFCF #CF59AF
tetradic
#AFCF59 #59CFB4 #7959CF #CF5974
square
#AFCF59 #59CFB4 #7959CF #CF5974
split-complementary
#AFCF59 #5974CF #B459CF
monochromatic
#6D8727 #93B635 #AFCF59 #C6DD88 #DDEAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF59#FFFFFF#000000##000000
##AFCF591.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)
#DAC44D
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#B7C6B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf59;
/* rgb */ color: rgb(175, 207, 89);
/* oklch */ color: oklch(80.7% 0.149 122.5);
Tailwind
colors: {
  custom: {
    50: '#c9dd8c',
    500: '#afcf59',
    950: '#000000',
  },
}
SCSS
$custom: #afcf59;
$custom-light: #c9dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf59",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 76.271,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80695,
    "c": 0.14927,
    "h": 122.5
  },
  "luminance": 0.54461
}

Semantic roles & 50–950 ramp

primary
#AFCF59
secondary
#543F8E
accent
#49DE72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF59

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

Preview Lab → · Contrast checker → · Palette generator →

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