#AFC13C#AFC13C

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

Color values

HEX#AFC13C
RGBrgb(175, 193, 60)
HSLhsl(68, 53%, 50%)
HSVhsv(68, 69%, 76%)
CMYKcmyk(9.3%, 0%, 68.9%, 24.3%)
CIE-LABlab(74.56, -23.41, 61.66)
CIE-LCHlch(74.56, 65.95, 110.79°)
OKLaboklab(77.27% -0.0699 0.1381)
OKLCHoklch(77.27% 0.155 116.8)
XYZxyz(37.5656, 47.5806, 11.4791)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC13C #4E3CC1
analogous
#C1903C #AFC13C #6DC13C
triadic
#AFC13C #3CAFC1 #C13CAF
tetradic
#AFC13C #3CC190 #4E3CC1 #C13C6D
square
#AFC13C #3CC190 #4E3CC1 #C13C6D
split-complementary
#AFC13C #3C6DC1 #903CC1
monochromatic
#5A641F #85922D #AFC13C #C3D16A #D6DF98

Accessibility & contrast

On white

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

On black

10.52
#AFC13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC13C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC13C#FFFFFF#000000##000000
##AFC13C1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB727
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#BAB6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc13c;
/* rgb */ color: rgb(175, 193, 60);
/* oklch */ color: oklch(77.3% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad37a',
    500: '#afc13c',
    950: '#000000',
  },
}
SCSS
$custom: #afc13c;
$custom-light: #cad37a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc13c",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 68.12,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.15481,
    "h": 116.8
  },
  "luminance": 0.4758
}

Semantic roles & 50–950 ramp

primary
#AFC13C
secondary
#968ECB
accent
#4CDC5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC13C

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

Preview Lab → · Contrast checker → · Palette generator →

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