#AFC545#AFC545

#AFC545 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.2% C 0.153 H 118.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#AFC545
RGBrgb(175, 197, 69)
HSLhsl(70, 52%, 52%)
HSVhsv(70, 65%, 77%)
CMYKcmyk(11.2%, 0%, 65%, 22.7%)
CIE-LABlab(75.75, -24.80, 59.35)
CIE-LCHlch(75.75, 64.33, 112.68°)
OKLaboklab(78.24% -0.0729 0.1347)
OKLCHoklch(78.24% 0.153 118.4)
XYZxyz(38.7203, 49.4764, 13.1392)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC545 #5B45C5
analogous
#C59B45 #AFC545 #6FC545
triadic
#AFC545 #45AFC5 #C545AF
tetradic
#AFC545 #45C59B #5B45C5 #C5456F
square
#AFC545 #45C59B #5B45C5 #C5456F
split-complementary
#AFC545 #456FC5 #9B45C5
monochromatic
#616D22 #8A9C31 #AFC545 #C3D474 #D7E2A2

Accessibility & contrast

On white

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

On black

10.90
#AFC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC545
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC545#FFFFFF#000000##000000
##AFC5451.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB34
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc545;
/* rgb */ color: rgb(175, 197, 69);
/* oklch */ color: oklch(78.2% 0.153 118.4);
Tailwind
colors: {
  custom: {
    50: '#cad67f',
    500: '#afc545',
    950: '#000000',
  },
}
SCSS
$custom: #afc545;
$custom-light: #cad67f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc545",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 70.313,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7824,
    "c": 0.15313,
    "h": 118.4
  },
  "luminance": 0.49476
}

Semantic roles & 50–950 ramp

primary
#AFC545
secondary
#A197CF
accent
#4CDC65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC545

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

Preview Lab → · Contrast checker → · Palette generator →

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