#AFC330#AFC330

#AFC330 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.6% C 0.164 H 117.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#AFC330
RGBrgb(175, 195, 48)
HSLhsl(68, 60%, 48%)
HSVhsv(68, 75%, 76%)
CMYKcmyk(10.3%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.05, -24.99, 66.32)
CIE-LCHlch(75.05, 70.88, 110.65°)
OKLaboklab(77.64% -0.0753 0.146)
OKLCHoklch(77.64% 0.164 117.3)
XYZxyz(37.7287, 48.3580, 10.1422)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC330 #4430C3
analogous
#C38D30 #AFC330 #66C330
triadic
#AFC330 #30AFC3 #C330AF
tetradic
#AFC330 #30C38D #4430C3 #C33066
square
#AFC330 #30C38D #4430C3 #C33066
split-complementary
#AFC330 #3066C3 #8D30C3
monochromatic
#576118 #839224 #AFC330 #C5D65A #D7E28B

Accessibility & contrast

On white

1.97
#AFC330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#AFC330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC330
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC330#FFFFFF#000000##000000
##AFC3301.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80A
Deuteranopia (green-blind)
#CEBA3D
Tritanopia (blue-blind)
#BAB8A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc330;
/* rgb */ color: rgb(175, 195, 48);
/* oklch */ color: oklch(77.6% 0.164 117.3);
Tailwind
colors: {
  custom: {
    50: '#cbd574',
    500: '#afc330',
    950: '#000000',
  },
}
SCSS
$custom: #afc330;
$custom-light: #cbd574;
$custom-dark: #000000;
JSON
{
  "hex": "#afc330",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 68.163,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77637,
    "c": 0.16427,
    "h": 117.3
  },
  "luminance": 0.48358
}

Semantic roles & 50–950 ramp

primary
#AFC330
secondary
#8C82CC
accent
#44E45A
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC330

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

Preview Lab → · Contrast checker → · Palette generator →

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