#AFC935#AFC935

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

Color values

HEX#AFC935
RGBrgb(175, 201, 53)
HSLhsl(71, 58%, 50%)
HSVhsv(71, 74%, 79%)
CMYKcmyk(12.9%, 0%, 73.6%, 21.2%)
CIE-LABlab(76.77, -27.65, 66.31)
CIE-LCHlch(76.77, 71.84, 112.63°)
OKLaboklab(79.03% -0.0822 0.1468)
OKLCHoklch(79.03% 0.168 119.3)
XYZxyz(39.2092, 51.1445, 11.1738)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC935 #4F35C9
analogous
#C99935 #AFC935 #65C935
triadic
#AFC935 #35AFC9 #C935AF
tetradic
#AFC935 #35C999 #4F35C9 #C93565
square
#AFC935 #35C999 #4F35C9 #C93565
split-complementary
#AFC935 #3565C9 #9935C9
monochromatic
#5B681B #859928 #AFC935 #C2D665 #D5E395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC935#FFFFFF#000000##000000
##AFC9351.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)
#D6BD15
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#B9BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc935;
/* rgb */ color: rgb(175, 201, 53);
/* oklch */ color: oklch(79.0% 0.168 119.3);
Tailwind
colors: {
  custom: {
    50: '#cad977',
    500: '#afc935',
    950: '#000000',
  },
}
SCSS
$custom: #afc935;
$custom-light: #cad977;
$custom-dark: #000000;
JSON
{
  "hex": "#afc935",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 53
  },
  "hsl": {
    "h": 70.541,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.16825,
    "h": 119.3
  },
  "luminance": 0.51144
}

Semantic roles & 50–950 ramp

primary
#AFC935
secondary
#3C3072
accent
#46E162
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC935

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

Preview Lab → · Contrast checker → · Palette generator →

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