#AFC233#AFC233

#AFC233 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.162 H 117.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AFC233
RGBrgb(175, 194, 51)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 74%, 76%)
CMYKcmyk(9.8%, 0%, 73.7%, 23.9%)
CIE-LABlab(74.79, -24.37, 65.09)
CIE-LCHlch(74.79, 69.50, 110.53°)
OKLaboklab(77.43% -0.0734 0.1439)
OKLCHoklch(77.43% 0.162 117)
XYZxyz(37.5694, 47.9370, 10.4049)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC233 #4633C2
analogous
#C28D33 #AFC233 #67C233
triadic
#AFC233 #33AFC2 #C233AF
tetradic
#AFC233 #33C28D #4633C2 #C23367
square
#AFC233 #33C28D #4633C2 #C23367
split-complementary
#AFC233 #3367C2 #8D33C2
monochromatic
#58611A #839226 #AFC233 #C5D55E #D6E18E

Accessibility & contrast

On white

1.98
#AFC233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#AFC233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC233
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC233#FFFFFF#000000##000000
##AFC2331.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB814
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc233;
/* rgb */ color: rgb(175, 194, 51);
/* oklch */ color: oklch(77.4% 0.162 117.0);
Tailwind
colors: {
  custom: {
    50: '#cad475',
    500: '#afc233',
    950: '#000000',
  },
}
SCSS
$custom: #afc233;
$custom-light: #cad475;
$custom-dark: #000000;
JSON
{
  "hex": "#afc233",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 67.972,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77429,
    "c": 0.16151,
    "h": 117
  },
  "luminance": 0.47937
}

Semantic roles & 50–950 ramp

primary
#AFC233
secondary
#8E85CC
accent
#46E25B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC233

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

Preview Lab → · Contrast checker → · Palette generator →

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