#AFC541#AFC541

#AFC541 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 78.2% C 0.156 H 118.3°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#AFC541
RGBrgb(175, 197, 65)
HSLhsl(70, 53%, 51%)
HSVhsv(70, 67%, 77%)
CMYKcmyk(11.2%, 0%, 67%, 22.7%)
CIE-LABlab(75.72, -25.06, 60.91)
CIE-LCHlch(75.72, 65.86, 112.36°)
OKLaboklab(78.21% -0.074 0.1373)
OKLCHoklch(78.21% 0.156 118.3)
XYZxyz(38.6003, 49.4284, 12.5072)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC541 #5741C5
analogous
#C59941 #AFC541 #6DC541
triadic
#AFC541 #41AFC5 #C541AF
tetradic
#AFC541 #41C599 #5741C5 #C5416D
square
#AFC541 #41C599 #5741C5 #C5416D
split-complementary
#AFC541 #416DC5 #9941C5
monochromatic
#5F6B21 #889A2F #AFC541 #C3D370 #D6E29F

Accessibility & contrast

On white

1.93
#AFC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#AFC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC541
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC541#FFFFFF#000000##000000
##AFC5411.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2E
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc541;
/* rgb */ color: rgb(175, 197, 65);
/* oklch */ color: oklch(78.2% 0.156 118.3);
Tailwind
colors: {
  custom: {
    50: '#cad67d',
    500: '#afc541',
    950: '#000000',
  },
}
SCSS
$custom: #afc541;
$custom-light: #cad67d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc541",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 70,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78207,
    "c": 0.15602,
    "h": 118.3
  },
  "luminance": 0.49428
}

Semantic roles & 50–950 ramp

primary
#AFC541
secondary
#9E94CE
accent
#4BDD63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC541

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

Preview Lab → · Contrast checker → · Palette generator →

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