#AFC030#AFC030

#AFC030 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.161 H 116.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFC030
RGBrgb(175, 192, 48)
HSLhsl(67, 60%, 47%)
HSVhsv(67, 75%, 75%)
CMYKcmyk(8.9%, 0%, 75%, 24.7%)
CIE-LABlab(74.21, -23.53, 65.53)
CIE-LCHlch(74.21, 69.63, 109.75°)
OKLaboklab(76.96% -0.0713 0.1443)
OKLCHoklch(76.96% 0.161 116.3)
XYZxyz(37.0633, 47.0272, 9.9204)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC030 #4130C0
analogous
#C08930 #AFC030 #67C030
triadic
#AFC030 #30AFC0 #C030AF
tetradic
#AFC030 #30C089 #4130C0 #C03067
square
#AFC030 #30C089 #4130C0 #C03067
split-complementary
#AFC030 #3067C0 #8930C0
monochromatic
#565E18 #828F24 #AFC030 #C6D558 #D7E189

Accessibility & contrast

On white

2.02
#AFC030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFC030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC030
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC030#FFFFFF#000000##000000
##AFC0301.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60D
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afc030;
/* rgb */ color: rgb(175, 192, 48);
/* oklch */ color: oklch(77.0% 0.161 116.3);
Tailwind
colors: {
  custom: {
    50: '#cad274',
    500: '#afc030',
    950: '#000000',
  },
}
SCSS
$custom: #afc030;
$custom-light: #cad274;
$custom-dark: #000000;
JSON
{
  "hex": "#afc030",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 48
  },
  "hsl": {
    "h": 67.083,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76959,
    "c": 0.16096,
    "h": 116.3
  },
  "luminance": 0.47027
}

Semantic roles & 50–950 ramp

primary
#AFC030
secondary
#8980CB
accent
#45E357
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC030

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

Preview Lab → · Contrast checker → · Palette generator →

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