#AFC53E#AFC53E

#AFC53E is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.158 H 118.2°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#AFC53E
RGBrgb(175, 197, 62)
HSLhsl(70, 54%, 51%)
HSVhsv(70, 69%, 77%)
CMYKcmyk(11.2%, 0%, 68.5%, 22.7%)
CIE-LABlab(75.70, -25.24, 62.04)
CIE-LCHlch(75.70, 66.98, 112.14°)
OKLaboklab(78.18% -0.0748 0.1393)
OKLCHoklch(78.18% 0.158 118.2)
XYZxyz(38.5157, 49.3946, 12.0616)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC53E #543EC5
analogous
#C5973E #AFC53E #6BC53E
triadic
#AFC53E #3EAFC5 #C53EAF
tetradic
#AFC53E #3EC597 #543EC5 #C53E6B
square
#AFC53E #3EC597 #543EC5 #C53E6B
split-complementary
#AFC53E #3E6BC5 #973EC5
monochromatic
#5D6920 #87982E #AFC53E #C3D36D #D6E19C

Accessibility & contrast

On white

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

On black

10.88
#AFC53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC53E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC53E#FFFFFF#000000##000000
##AFC53E1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA29
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc53e;
/* rgb */ color: rgb(175, 197, 62);
/* oklch */ color: oklch(78.2% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#cad67b',
    500: '#afc53e',
    950: '#000000',
  },
}
SCSS
$custom: #afc53e;
$custom-light: #cad67b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc53e",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 69.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78183,
    "c": 0.15808,
    "h": 118.2
  },
  "luminance": 0.49394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC53E

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

Preview Lab → · Contrast checker → · Palette generator →

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