#AFC933#AFC933

#AFC933 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.169 H 119.2°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#AFC933
RGBrgb(175, 201, 51)
HSLhsl(70, 60%, 49%)
HSVhsv(70, 75%, 79%)
CMYKcmyk(12.9%, 0%, 74.6%, 21.2%)
CIE-LABlab(76.76, -27.74, 66.95)
CIE-LCHlch(76.76, 72.47, 112.51°)
OKLaboklab(79.01% -0.0827 0.1478)
OKLCHoklch(79.01% 0.169 119.2)
XYZxyz(39.1642, 51.1265, 10.9365)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC933 #4D33C9
analogous
#C99833 #AFC933 #64C933
triadic
#AFC933 #33AFC9 #C933AF
tetradic
#AFC933 #33C998 #4D33C9 #C93364
square
#AFC933 #33C998 #4D33C9 #C93364
split-complementary
#AFC933 #3364C9 #9833C9
monochromatic
#5A671A #859827 #AFC933 #C3D762 #D6E493

Accessibility & contrast

On white

1.87
#AFC933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#AFC933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC933
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC933#FFFFFF#000000##000000
##AFC9331.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD10
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc933;
/* rgb */ color: rgb(175, 201, 51);
/* oklch */ color: oklch(79.0% 0.169 119.2);
Tailwind
colors: {
  custom: {
    50: '#cbd976',
    500: '#afc933',
    950: '#000000',
  },
}
SCSS
$custom: #afc933;
$custom-light: #cbd976;
$custom-dark: #000000;
JSON
{
  "hex": "#afc933",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 70.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79014,
    "c": 0.16936,
    "h": 119.2
  },
  "luminance": 0.51126
}

Semantic roles & 50–950 ramp

primary
#AFC933
secondary
#3A2F71
accent
#45E360
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC933

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

Preview Lab → · Contrast checker → · Palette generator →

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