#AFC035#AFC035

#AFC035 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.158 H 116.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFC035
RGBrgb(175, 192, 53)
HSLhsl(67, 57%, 48%)
HSVhsv(67, 72%, 75%)
CMYKcmyk(8.9%, 0%, 72.4%, 24.7%)
CIE-LABlab(74.23, -23.30, 63.88)
CIE-LCHlch(74.23, 67.99, 110.04°)
OKLaboklab(76.99% -0.0702 0.1417)
OKLCHoklch(76.99% 0.158 116.4)
XYZxyz(37.1724, 47.0708, 10.4948)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC035 #4635C0
analogous
#C08B35 #AFC035 #69C035
triadic
#AFC035 #35AFC0 #C035AF
tetradic
#AFC035 #35C08B #4635C0 #C03569
square
#AFC035 #35C08B #4635C0 #C03569
split-complementary
#AFC035 #3569C0 #8B35C0
monochromatic
#58601B #839028 #AFC035 #C5D35F #D6E08F

Accessibility & contrast

On white

2.02
#AFC035 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFC035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC035
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC035#FFFFFF#000000##000000
##AFC0351.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61A
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#BAB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc035;
/* rgb */ color: rgb(175, 192, 53);
/* oklch */ color: oklch(77.0% 0.158 116.4);
Tailwind
colors: {
  custom: {
    50: '#cad276',
    500: '#afc035',
    950: '#000000',
  },
}
SCSS
$custom: #afc035;
$custom-light: #cad276;
$custom-dark: #000000;
JSON
{
  "hex": "#afc035",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 53
  },
  "hsl": {
    "h": 67.338,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.15811,
    "h": 116.4
  },
  "luminance": 0.4707
}

Semantic roles & 50–950 ramp

primary
#AFC035
secondary
#8E86CB
accent
#48E05A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC035

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

Preview Lab → · Contrast checker → · Palette generator →

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