#AFBB3B#AFBB3B

#AFBB3B is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.149 H 114.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFBB3B
RGBrgb(175, 187, 59)
HSLhsl(66, 52%, 48%)
HSVhsv(66, 68%, 73%)
CMYKcmyk(6.4%, 0%, 68.4%, 26.7%)
CIE-LABlab(72.87, -20.51, 60.34)
CIE-LCHlch(72.87, 63.73, 108.77°)
OKLaboklab(75.91% -0.0619 0.1352)
OKLCHoklch(75.91% 0.149 114.6)
XYZxyz(36.2399, 44.9710, 10.9080)
Luminance0.4497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3B #473BBB
analogous
#BB873B #AFBB3B #6FBB3B
triadic
#AFBB3B #3BAFBB #BB3BAF
tetradic
#AFBB3B #3BBB87 #473BBB #BB3B6F
square
#AFBB3B #3BBB87 #473BBB #BB3B6F
split-complementary
#AFBB3B #3B6FBB #873BBB
monochromatic
#585E1E #838C2C #AFBB3B #C4CE65 #D6DD93

Accessibility & contrast

On white

2.10
#AFBB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFBB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB3B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB3B#FFFFFF#000000##000000
##AFBB3B1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B227
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3b;
/* rgb */ color: rgb(175, 187, 59);
/* oklch */ color: oklch(75.9% 0.149 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf79',
    500: '#afbb3b',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3b;
$custom-light: #cacf79;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3b",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 65.625,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7591,
    "c": 0.14871,
    "h": 114.6
  },
  "luminance": 0.4497
}

Semantic roles & 50–950 ramp

primary
#AFBB3B
secondary
#8F8AC8
accent
#4CDB5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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