#AFC33B#AFC33B

#AFC33B is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.7% C 0.158 H 117.5°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#AFC33B
RGBrgb(175, 195, 59)
HSLhsl(69, 54%, 50%)
HSVhsv(69, 70%, 76%)
CMYKcmyk(10.3%, 0%, 69.7%, 23.5%)
CIE-LABlab(75.11, -24.44, 62.58)
CIE-LCHlch(75.11, 67.19, 111.33°)
OKLaboklab(77.71% -0.0729 0.1399)
OKLCHoklch(77.71% 0.158 117.5)
XYZxyz(37.9846, 48.4603, 11.4896)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC33B #4F3BC3
analogous
#C3933B #AFC33B #6BC33B
triadic
#AFC33B #3BAFC3 #C33BAF
tetradic
#AFC33B #3BC393 #4F3BC3 #C33B6B
square
#AFC33B #3BC393 #4F3BC3 #C33B6B
split-complementary
#AFC33B #3B6BC3 #933BC3
monochromatic
#5B651F #85942D #AFC33B #C2D269 #D5E098

Accessibility & contrast

On white

1.96
#AFC33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#AFC33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC33B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC33B#FFFFFF#000000##000000
##AFC33B1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B925
Deuteranopia (green-blind)
#CEBA46
Tritanopia (blue-blind)
#BAB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc33b;
/* rgb */ color: rgb(175, 195, 59);
/* oklch */ color: oklch(77.7% 0.158 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad579',
    500: '#afc33b',
    950: '#000000',
  },
}
SCSS
$custom: #afc33b;
$custom-light: #cad579;
$custom-dark: #000000;
JSON
{
  "hex": "#afc33b",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 68.824,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.15775,
    "h": 117.5
  },
  "luminance": 0.4846
}

Semantic roles & 50–950 ramp

primary
#AFC33B
secondary
#978ECC
accent
#4BDD60
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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