#AFC23A#AFC23A

#AFC23A is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.157 H 117.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AFC23A
RGBrgb(175, 194, 58)
HSLhsl(68, 54%, 49%)
HSVhsv(68, 70%, 76%)
CMYKcmyk(9.8%, 0%, 70.1%, 23.9%)
CIE-LABlab(74.83, -24.01, 62.67)
CIE-LCHlch(74.83, 67.11, 110.96°)
OKLaboklab(77.48% -0.0717 0.1399)
OKLCHoklch(77.48% 0.157 117.1)
XYZxyz(37.7356, 48.0035, 11.2799)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC23A #4D3AC2
analogous
#C2913A #AFC23A #6BC23A
triadic
#AFC23A #3AAFC2 #C23AAF
tetradic
#AFC23A #3AC291 #4D3AC2 #C23A6B
square
#AFC23A #3AC291 #4D3AC2 #C23A6B
split-complementary
#AFC23A #3A6BC2 #913AC2
monochromatic
#5A641E #85932C #AFC23A #C3D267 #D6E097

Accessibility & contrast

On white

1.98
#AFC23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#AFC23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC23A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC23A#FFFFFF#000000##000000
##AFC23A1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB823
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc23a;
/* rgb */ color: rgb(175, 194, 58);
/* oklch */ color: oklch(77.5% 0.157 117.1);
Tailwind
colors: {
  custom: {
    50: '#cad479',
    500: '#afc23a',
    950: '#000000',
  },
}
SCSS
$custom: #afc23a;
$custom-light: #cad479;
$custom-dark: #000000;
JSON
{
  "hex": "#afc23a",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 68.382,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77476,
    "c": 0.15726,
    "h": 117.1
  },
  "luminance": 0.48003
}

Semantic roles & 50–950 ramp

primary
#AFC23A
secondary
#958DCB
accent
#4ADD5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC23A

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

Preview Lab → · Contrast checker → · Palette generator →

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