#AFBD37#AFBD37

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

Color values

HEX#AFBD37
RGBrgb(175, 189, 55)
HSLhsl(66, 55%, 48%)
HSVhsv(66, 71%, 74%)
CMYKcmyk(7.4%, 0%, 70.9%, 25.9%)
CIE-LABlab(73.41, -21.72, 62.36)
CIE-LCHlch(73.41, 66.03, 109.20°)
OKLaboklab(76.33% -0.0657 0.1388)
OKLCHoklch(76.33% 0.154 115.3)
XYZxyz(36.5673, 45.7856, 10.5249)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD37 #4537BD
analogous
#BD8837 #AFBD37 #6CBD37
triadic
#AFBD37 #37AFBD #BD37AF
tetradic
#AFBD37 #37BD88 #4537BD #BD376C
square
#AFBD37 #37BD88 #4537BD #BD376C
split-complementary
#AFBD37 #376CBD #8837BD
monochromatic
#575E1B #838E29 #AFBD37 #C5D160 #D6DF90

Accessibility & contrast

On white

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

On black

10.16
#AFBD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD37
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD37#FFFFFF#000000##000000
##AFBD371.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd37;
/* rgb */ color: rgb(175, 189, 55);
/* oklch */ color: oklch(76.3% 0.154 115.3);
Tailwind
colors: {
  custom: {
    50: '#cad077',
    500: '#afbd37',
    950: '#000000',
  },
}
SCSS
$custom: #afbd37;
$custom-light: #cad077;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd37",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 55
  },
  "hsl": {
    "h": 66.269,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76329,
    "c": 0.15355,
    "h": 115.3
  },
  "luminance": 0.45785
}

Semantic roles & 50–950 ramp

primary
#AFBD37
secondary
#8D86C9
accent
#4ADE59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD37

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

Preview Lab → · Contrast checker → · Palette generator →

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