#AFD941#AFD941

#AFD941 is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.8% C 0.180 H 123.8°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#AFD941
RGBrgb(175, 217, 65)
HSLhsl(77, 67%, 55%)
HSVhsv(77, 70%, 85%)
CMYKcmyk(19.4%, 0%, 70%, 14.9%)
CIE-LABlab(81.36, -34.49, 66.62)
CIE-LCHlch(81.36, 75.02, 117.37°)
OKLaboklab(82.75% -0.1001 0.1493)
OKLCHoklch(82.75% 0.18 123.8)
XYZxyz(43.4466, 59.1210, 14.1226)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD941 #6B41D9
analogous
#D9B741 #AFD941 #63D941
triadic
#AFD941 #41AFD9 #D941AF
tetradic
#AFD941 #41D9B7 #6B41D9 #D94163
square
#AFD941 #41D9B7 #6B41D9 #D94163
split-complementary
#AFD941 #4163D9 #B741D9
monochromatic
#68851B #8FB825 #AFD941 #C4E374 #DAEDA7

Accessibility & contrast

On white

1.64
#AFD941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#AFD941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD941
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD941#FFFFFF#000000##000000
##AFD9411.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB27
Deuteranopia (green-blind)
#E0CA4E
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd941;
/* rgb */ color: rgb(175, 217, 65);
/* oklch */ color: oklch(82.8% 0.180 123.8);
Tailwind
colors: {
  custom: {
    50: '#cae47f',
    500: '#afd941',
    950: '#000000',
  },
}
SCSS
$custom: #afd941;
$custom-light: #cae47f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd941",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 76.579,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82754,
    "c": 0.17977,
    "h": 123.8
  },
  "luminance": 0.59121
}

Semantic roles & 50–950 ramp

primary
#AFD941
secondary
#4B338B
accent
#3EEA6E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD941

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

Preview Lab → · Contrast checker → · Palette generator →

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