#AFC633#AFC633

#AFC633 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.3% C 0.166 H 118.3°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC633
RGBrgb(175, 198, 51)
HSLhsl(69, 59%, 49%)
HSVhsv(69, 74%, 78%)
CMYKcmyk(11.6%, 0%, 74.2%, 22.4%)
CIE-LABlab(75.91, -26.30, 66.16)
CIE-LCHlch(75.91, 71.19, 111.68°)
OKLaboklab(78.33% -0.0787 0.1461)
OKLCHoklch(78.33% 0.166 118.3)
XYZxyz(38.4717, 49.7415, 10.7057)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC633 #4A33C6
analogous
#C69433 #AFC633 #66C633
triadic
#AFC633 #33AFC6 #C633AF
tetradic
#AFC633 #33C694 #4A33C6 #C63366
square
#AFC633 #33C694 #4A33C6 #C63366
split-complementary
#AFC633 #3366C6 #9433C6
monochromatic
#59651A #849526 #AFC633 #C4D660 #D6E391

Accessibility & contrast

On white

1.92
#AFC633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#AFC633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC633
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC633#FFFFFF#000000##000000
##AFC6331.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB12
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#BABBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc633;
/* rgb */ color: rgb(175, 198, 51);
/* oklch */ color: oklch(78.3% 0.166 118.3);
Tailwind
colors: {
  custom: {
    50: '#cad776',
    500: '#afc633',
    950: '#000000',
  },
}
SCSS
$custom: #afc633;
$custom-light: #cad776;
$custom-dark: #000000;
JSON
{
  "hex": "#afc633",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 51
  },
  "hsl": {
    "h": 69.388,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78334,
    "c": 0.16598,
    "h": 118.3
  },
  "luminance": 0.49741
}

Semantic roles & 50–950 ramp

primary
#AFC633
secondary
#9287CD
accent
#46E25E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #AFC633

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

Preview Lab → · Contrast checker → · Palette generator →

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