#AFBD35#AFBD35

#AFBD35 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.3% C 0.155 H 115.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFBD35
RGBrgb(175, 189, 53)
HSLhsl(66, 56%, 47%)
HSVhsv(66, 72%, 74%)
CMYKcmyk(7.4%, 0%, 72%, 25.9%)
CIE-LABlab(73.39, -21.82, 63.07)
CIE-LCHlch(73.39, 66.73, 109.09°)
OKLaboklab(76.32% -0.0661 0.14)
OKLCHoklch(76.32% 0.155 115.3)
XYZxyz(36.5204, 45.7668, 10.2775)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD35 #4335BD
analogous
#BD8735 #AFBD35 #6BBD35
triadic
#AFBD35 #35AFBD #BD35AF
tetradic
#AFBD35 #35BD87 #4335BD #BD356B
square
#AFBD35 #35BD87 #4335BD #BD356B
split-complementary
#AFBD35 #356BBD #8735BD
monochromatic
#565D1A #838D28 #AFBD35 #C6D25D #D7DF8D

Accessibility & contrast

On white

2.07
#AFBD35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#AFBD35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD35
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD35#FFFFFF#000000##000000
##AFBD351.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31C
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd35;
/* rgb */ color: rgb(175, 189, 53);
/* oklch */ color: oklch(76.3% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#cad076',
    500: '#afbd35',
    950: '#000000',
  },
}
SCSS
$custom: #afbd35;
$custom-light: #cad076;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd35",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 53
  },
  "hsl": {
    "h": 66.176,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76316,
    "c": 0.15479,
    "h": 115.3
  },
  "luminance": 0.45766
}

Semantic roles & 50–950 ramp

primary
#AFBD35
secondary
#8B84CA
accent
#48DF58
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD35

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

Preview Lab → · Contrast checker → · Palette generator →

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