#AFCE5B#AFCE5B

#AFCE5B is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.146 H 122.3°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCE5B
RGBrgb(175, 206, 91)
HSLhsl(76, 54%, 58%)
HSVhsv(76, 56%, 81%)
CMYKcmyk(15%, 0%, 55.8%, 19.2%)
CIE-LABlab(78.47, -27.45, 52.85)
CIE-LCHlch(78.47, 59.56, 117.44°)
OKLaboklab(80.49% -0.0782 0.1235)
OKLCHoklch(80.49% 0.146 122.3)
XYZxyz(41.6391, 54.0118, 18.1272)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE5B #7A5BCE
analogous
#CEB35B #AFCE5B #75CE5B
triadic
#AFCE5B #5BAFCE #CE5BAF
tetradic
#AFCE5B #5BCEB3 #7A5BCE #CE5B75
square
#AFCE5B #5BCEB3 #7A5BCE #CE5B75
split-complementary
#AFCE5B #5B75CE #B35BCE
monochromatic
#6D8628 #93B636 #AFCE5B #C6DC8A #DDEAB9

Accessibility & contrast

On white

1.78
#AFCE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#AFCE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE5B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE5B#FFFFFF#000000##000000
##AFCE5B1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34F
Deuteranopia (green-blind)
#D5C262
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce5b;
/* rgb */ color: rgb(175, 206, 91);
/* oklch */ color: oklch(80.5% 0.146 122.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd8d',
    500: '#afce5b',
    950: '#000000',
  },
}
SCSS
$custom: #afce5b;
$custom-light: #c9dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afce5b",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 76.174,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80492,
    "c": 0.1462,
    "h": 122.3
  },
  "luminance": 0.54012
}

Semantic roles & 50–950 ramp

primary
#AFCE5B
secondary
#55408D
accent
#4ADD72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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