#AFBB30#AFBB30

#AFBB30 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.8% C 0.156 H 114.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#AFBB30
RGBrgb(175, 187, 48)
HSLhsl(65, 59%, 46%)
HSVhsv(65, 74%, 73%)
CMYKcmyk(6.4%, 0%, 74.3%, 26.7%)
CIE-LABlab(72.81, -21.07, 64.22)
CIE-LCHlch(72.81, 67.59, 108.17°)
OKLaboklab(75.83% -0.0645 0.1415)
OKLCHoklch(75.83% 0.156 114.5)
XYZxyz(35.9841, 44.8687, 9.5607)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB30 #3C30BB
analogous
#BB8130 #AFBB30 #69BB30
triadic
#AFBB30 #30AFBB #BB30AF
tetradic
#AFBB30 #30BB81 #3C30BB #BB3069
square
#AFBB30 #30BB81 #3C30BB #BB3069
split-complementary
#AFBB30 #3069BB #8130BB
monochromatic
#545A17 #818A23 #AFBB30 #C8D355 #D8E086

Accessibility & contrast

On white

2.11
#AFBB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#AFBB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB30
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB30#FFFFFF#000000##000000
##AFBB301.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B211
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#BBB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb30;
/* rgb */ color: rgb(175, 187, 48);
/* oklch */ color: oklch(75.8% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#cacf73',
    500: '#afbb30',
    950: '#000000',
  },
}
SCSS
$custom: #afbb30;
$custom-light: #cacf73;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb30",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 65.18,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75834,
    "c": 0.15552,
    "h": 114.5
  },
  "luminance": 0.44868
}

Semantic roles & 50–950 ramp

primary
#AFBB30
secondary
#847DC9
accent
#45E253
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB30

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

Preview Lab → · Contrast checker → · Palette generator →

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