#AFC43E#AFC43E

#AFC43E is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.157 H 117.9°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#AFC43E
RGBrgb(175, 196, 62)
HSLhsl(69, 53%, 51%)
HSVhsv(69, 68%, 77%)
CMYKcmyk(10.7%, 0%, 68.4%, 23.1%)
CIE-LABlab(75.42, -24.76, 61.76)
CIE-LCHlch(75.42, 66.54, 111.84°)
OKLaboklab(77.96% -0.0734 0.1387)
OKLCHoklch(77.96% 0.157 117.9)
XYZxyz(38.2894, 48.9420, 11.9861)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC43E #533EC4
analogous
#C4963E #AFC43E #6CC43E
triadic
#AFC43E #3EAFC4 #C43EAF
tetradic
#AFC43E #3EC496 #533EC4 #C43E6C
square
#AFC43E #3EC496 #533EC4 #C43E6C
split-complementary
#AFC43E #3E6CC4 #963EC4
monochromatic
#5D6820 #86972E #AFC43E #C2D26D #D6E19C

Accessibility & contrast

On white

1.95
#AFC43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#AFC43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC43E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC43E#FFFFFF#000000##000000
##AFC43E1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B929
Deuteranopia (green-blind)
#CFBA48
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc43e;
/* rgb */ color: rgb(175, 196, 62);
/* oklch */ color: oklch(78.0% 0.157 117.9);
Tailwind
colors: {
  custom: {
    50: '#cad57b',
    500: '#afc43e',
    950: '#000000',
  },
}
SCSS
$custom: #afc43e;
$custom-light: #cad57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc43e",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 69.403,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.15692,
    "h": 117.9
  },
  "luminance": 0.48942
}

Semantic roles & 50–950 ramp

primary
#AFC43E
secondary
#9A91CD
accent
#4BDD62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC43E

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

Preview Lab → · Contrast checker → · Palette generator →

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