#AFCB54#AFCB54

#AFCB54 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.7% C 0.148 H 121.0°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#AFCB54
RGBrgb(175, 203, 84)
HSLhsl(74, 53%, 56%)
HSVhsv(74, 59%, 80%)
CMYKcmyk(13.8%, 0%, 58.6%, 20.4%)
CIE-LABlab(77.56, -26.60, 54.96)
CIE-LCHlch(77.56, 61.06, 115.83°)
OKLaboklab(79.74% -0.0765 0.1273)
OKLCHoklch(79.74% 0.148 121)
XYZxyz(40.6358, 52.4660, 16.3720)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB54 #7054CB
analogous
#CBAC54 #AFCB54 #74CB54
triadic
#AFCB54 #54AFCB #CB54AF
tetradic
#AFCB54 #54CBAC #7054CB #CB5474
square
#AFCB54 #54CBAC #7054CB #CB5474
split-complementary
#AFCB54 #5474CB #AC54CB
monochromatic
#6A7E26 #91AD35 #AFCB54 #C5D983 #DBE8B2

Accessibility & contrast

On white

1.83
#AFCB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#AFCB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB54
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB54#FFFFFF#000000##000000
##AFCB541.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#B8C1B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb54;
/* rgb */ color: rgb(175, 203, 84);
/* oklch */ color: oklch(79.7% 0.148 121.0);
Tailwind
colors: {
  custom: {
    50: '#c9da88',
    500: '#afcb54',
    950: '#000000',
  },
}
SCSS
$custom: #afcb54;
$custom-light: #c9da88;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb54",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 74.118,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79738,
    "c": 0.14849,
    "h": 121
  },
  "luminance": 0.52466
}

Semantic roles & 50–950 ramp

primary
#AFCB54
secondary
#4E3D86
accent
#4BDD6D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCB54

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

Preview Lab → · Contrast checker → · Palette generator →

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