#AFCB64#AFCB64

#AFCB64 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.134 H 122.0°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#AFCB64
RGBrgb(175, 203, 100)
HSLhsl(76, 50%, 59%)
HSVhsv(76, 51%, 80%)
CMYKcmyk(13.8%, 0%, 50.7%, 20.4%)
CIE-LABlab(77.72, -25.17, 47.80)
CIE-LCHlch(77.72, 54.02, 117.77°)
OKLaboklab(79.93% -0.071 0.1134)
OKLCHoklch(79.93% 0.134 122)
XYZxyz(41.3356, 52.7459, 20.0574)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB64 #8064CB
analogous
#CBB464 #AFCB64 #7CCB64
triadic
#AFCB64 #64AFCB #CB64AF
tetradic
#AFCB64 #64CBB4 #8064CB #CB647C
square
#AFCB64 #64CBB4 #8064CB #CB647C
split-complementary
#AFCB64 #647CCB #B464CB
monochromatic
#6F872D #94B53D #AFCB64 #C7DA92 #DEEAC0

Accessibility & contrast

On white

1.82
#AFCB64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#AFCB64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB64
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB64#FFFFFF#000000##000000
##AFCB641.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15B
Deuteranopia (green-blind)
#D2C06A
Tritanopia (blue-blind)
#B6C2B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb64;
/* rgb */ color: rgb(175, 203, 100);
/* oklch */ color: oklch(79.9% 0.134 122.0);
Tailwind
colors: {
  custom: {
    50: '#c9da93',
    500: '#afcb64',
    950: '#000000',
  },
}
SCSS
$custom: #afcb64;
$custom-light: #c9da93;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb64",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 100
  },
  "hsl": {
    "h": 76.311,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79925,
    "c": 0.13379,
    "h": 122
  },
  "luminance": 0.52746
}

Semantic roles & 50–950 ramp

primary
#AFCB64
secondary
#59458E
accent
#4FD974
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCB64

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

Preview Lab → · Contrast checker → · Palette generator →

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