#AFC043#AFC043

#AFC043 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.149 H 116.6°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#AFC043
RGBrgb(175, 192, 67)
HSLhsl(68, 50%, 51%)
HSVhsv(68, 65%, 75%)
CMYKcmyk(8.9%, 0%, 65.1%, 24.7%)
CIE-LABlab(74.33, -22.49, 58.68)
CIE-LCHlch(74.33, 62.84, 110.97°)
OKLaboklab(77.1% -0.0667 0.1329)
OKLCHoklch(77.1% 0.149 116.6)
XYZxyz(37.5428, 47.2189, 12.4455)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC043 #5443C0
analogous
#C09243 #AFC043 #70C043
triadic
#AFC043 #43AFC0 #C043AF
tetradic
#AFC043 #43C092 #5443C0 #C04370
square
#AFC043 #43C092 #5443C0 #C04370
split-complementary
#AFC043 #4370C0 #9243C0
monochromatic
#5D6622 #879432 #AFC043 #C3CF71 #D6DF9F

Accessibility & contrast

On white

2.01
#AFC043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#AFC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC043
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC043#FFFFFF#000000##000000
##AFC0431.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB632
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#B9B6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc043;
/* rgb */ color: rgb(175, 192, 67);
/* oklch */ color: oklch(77.1% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#cad37d',
    500: '#afc043',
    950: '#000000',
  },
}
SCSS
$custom: #afc043;
$custom-light: #cad37d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc043",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 68.16,
    "s": 49.801,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77097,
    "c": 0.14872,
    "h": 116.6
  },
  "luminance": 0.47218
}

Semantic roles & 50–950 ramp

primary
#AFC043
secondary
#9B94CB
accent
#4ED961
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFC043

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

Preview Lab → · Contrast checker → · Palette generator →

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