#AFC141#AFC141

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

Color values

HEX#AFC141
RGBrgb(175, 193, 65)
HSLhsl(68, 51%, 51%)
HSVhsv(68, 66%, 76%)
CMYKcmyk(9.3%, 0%, 66.3%, 24.3%)
CIE-LABlab(74.59, -23.11, 59.76)
CIE-LCHlch(74.59, 64.07, 111.14°)
OKLaboklab(77.31% -0.0686 0.1349)
OKLCHoklch(77.31% 0.151 116.9)
XYZxyz(37.7041, 47.6360, 12.2084)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC141 #5341C1
analogous
#C19341 #AFC141 #6FC141
triadic
#AFC141 #41AFC1 #C141AF
tetradic
#AFC141 #41C193 #5341C1 #C1416F
square
#AFC141 #41C193 #5341C1 #C1416F
split-complementary
#AFC141 #416FC1 #9341C1
monochromatic
#5D6621 #869430 #AFC141 #C2D06F #D6DF9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC141#FFFFFF#000000##000000
##AFC1411.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)
#CEB72F
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc141;
/* rgb */ color: rgb(175, 193, 65);
/* oklch */ color: oklch(77.3% 0.151 116.9);
Tailwind
colors: {
  custom: {
    50: '#cad37c',
    500: '#afc141',
    950: '#000000',
  },
}
SCSS
$custom: #afc141;
$custom-light: #cad37c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc141",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 68.438,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77305,
    "c": 0.15134,
    "h": 116.9
  },
  "luminance": 0.47636
}

Semantic roles & 50–950 ramp

primary
#AFC141
secondary
#9A92CB
accent
#4EDA61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC141

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

Preview Lab → · Contrast checker → · Palette generator →

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