#AFC133#AFC133

#AFC133 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.160 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#AFC133
RGBrgb(175, 193, 51)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 74%, 76%)
CMYKcmyk(9.3%, 0%, 73.6%, 24.3%)
CIE-LABlab(74.50, -23.88, 64.82)
CIE-LCHlch(74.50, 69.08, 110.23°)
OKLaboklab(77.2% -0.072 0.1433)
OKLCHoklch(77.2% 0.16 116.7)
XYZxyz(37.3476, 47.4934, 10.3310)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC133 #4533C1
analogous
#C18C33 #AFC133 #68C133
triadic
#AFC133 #33AFC1 #C133AF
tetradic
#AFC133 #33C18C #4533C1 #C13368
square
#AFC133 #33C18C #4533C1 #C13368
split-complementary
#AFC133 #3368C1 #8C33C1
monochromatic
#576019 #839126 #AFC133 #C5D45D #D6E18D

Accessibility & contrast

On white

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

On black

10.50
#AFC133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC133
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC133#FFFFFF#000000##000000
##AFC1331.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB715
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc133;
/* rgb */ color: rgb(175, 193, 51);
/* oklch */ color: oklch(77.2% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad375',
    500: '#afc133',
    950: '#000000',
  },
}
SCSS
$custom: #afc133;
$custom-light: #cad375;
$custom-dark: #000000;
JSON
{
  "hex": "#afc133",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 51
  },
  "hsl": {
    "h": 67.606,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77203,
    "c": 0.16039,
    "h": 116.7
  },
  "luminance": 0.47493
}

Semantic roles & 50–950 ramp

primary
#AFC133
secondary
#8D84CB
accent
#46E15A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC133

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

Preview Lab → · Contrast checker → · Palette generator →

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