#AFC143#AFC143

#AFC143 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.150 H 117.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#AFC143
RGBrgb(175, 193, 67)
HSLhsl(69, 50%, 51%)
HSVhsv(69, 65%, 76%)
CMYKcmyk(9.3%, 0%, 65.3%, 24.3%)
CIE-LABlab(74.61, -22.98, 58.97)
CIE-LCHlch(74.61, 63.29, 111.29°)
OKLaboklab(77.32% -0.068 0.1336)
OKLCHoklch(77.32% 0.15 117)
XYZxyz(37.7631, 47.6596, 12.5190)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC143 #5543C1
analogous
#C19443 #AFC143 #70C143
triadic
#AFC143 #43AFC1 #C143AF
tetradic
#AFC143 #43C194 #5543C1 #C14370
square
#AFC143 #43C194 #5543C1 #C14370
split-complementary
#AFC143 #4370C1 #9443C1
monochromatic
#5E6722 #879531 #AFC143 #C3D071 #D6DF9F

Accessibility & contrast

On white

1.99
#AFC143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#AFC143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC143
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC143#FFFFFF#000000##000000
##AFC1431.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB732
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc143;
/* rgb */ color: rgb(175, 193, 67);
/* oklch */ color: oklch(77.3% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#cad37e',
    500: '#afc143',
    950: '#000000',
  },
}
SCSS
$custom: #afc143;
$custom-light: #cad37e;
$custom-dark: #000000;
JSON
{
  "hex": "#afc143",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 68.571,
    "s": 50.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77322,
    "c": 0.14989,
    "h": 117
  },
  "luminance": 0.47659
}

Semantic roles & 50–950 ramp

primary
#AFC143
secondary
#9C94CC
accent
#4EDA62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC143

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

Preview Lab → · Contrast checker → · Palette generator →

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