#AFBB3A#AFBB3A

#AFBB3A 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#AFBB3A
RGBrgb(175, 187, 58)
HSLhsl(66, 53%, 48%)
HSVhsv(66, 69%, 73%)
CMYKcmyk(6.4%, 0%, 69%, 26.7%)
CIE-LABlab(72.87, -20.56, 60.72)
CIE-LCHlch(72.87, 64.10, 108.71°)
OKLaboklab(75.9% -0.0622 0.1358)
OKLCHoklch(75.9% 0.149 114.6)
XYZxyz(36.2142, 44.9607, 10.7727)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3A #463ABB
analogous
#BB863A #AFBB3A #6FBB3A
triadic
#AFBB3A #3AAFBB #BB3AAF
tetradic
#AFBB3A #3ABB86 #463ABB #BB3A6F
square
#AFBB3A #3ABB86 #463ABB #BB3A6F
split-complementary
#AFBB3A #3A6FBB #863ABB
monochromatic
#585E1D #838C2C #AFBB3A #C5CF63 #D6DD92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB3A#FFFFFF#000000##000000
##AFBB3A1.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)
#C8B225
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3a;
/* rgb */ color: rgb(175, 187, 58);
/* oklch */ color: oklch(75.9% 0.149 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf78',
    500: '#afbb3a',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3a;
$custom-light: #cacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3a",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 65.581,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75902,
    "c": 0.14938,
    "h": 114.6
  },
  "luminance": 0.4496
}

Semantic roles & 50–950 ramp

primary
#AFBB3A
secondary
#8E88C8
accent
#4CDC59
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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