#AFC13A#AFC13A

#AFC13A is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.156 H 116.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AFC13A
RGBrgb(175, 193, 58)
HSLhsl(68, 54%, 49%)
HSVhsv(68, 70%, 76%)
CMYKcmyk(9.3%, 0%, 69.9%, 24.3%)
CIE-LABlab(74.55, -23.52, 62.39)
CIE-LCHlch(74.55, 66.68, 110.66°)
OKLaboklab(77.25% -0.0704 0.1394)
OKLCHoklch(77.25% 0.156 116.8)
XYZxyz(37.5138, 47.5598, 11.2059)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC13A #4C3AC1
analogous
#C1903A #AFC13A #6CC13A
triadic
#AFC13A #3AAFC1 #C13AAF
tetradic
#AFC13A #3AC190 #4C3AC1 #C13A6C
square
#AFC13A #3AC190 #4C3AC1 #C13A6C
split-complementary
#AFC13A #3A6CC1 #903AC1
monochromatic
#5A631E #84922C #AFC13A #C3D167 #D6DF96

Accessibility & contrast

On white

2.00
#AFC13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AFC13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC13A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC13A#FFFFFF#000000##000000
##AFC13A1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB723
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc13a;
/* rgb */ color: rgb(175, 193, 58);
/* oklch */ color: oklch(77.3% 0.156 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad379',
    500: '#afc13a',
    950: '#000000',
  },
}
SCSS
$custom: #afc13a;
$custom-light: #cad379;
$custom-dark: #000000;
JSON
{
  "hex": "#afc13a",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 68,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77251,
    "c": 0.15612,
    "h": 116.8
  },
  "luminance": 0.47559
}

Semantic roles & 50–950 ramp

primary
#AFC13A
secondary
#948CCB
accent
#4BDD5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC13A

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

Preview Lab → · Contrast checker → · Palette generator →

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