#AFBB47#AFBB47

#AFBB47 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.140 H 114.8°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#AFBB47
RGBrgb(175, 187, 71)
HSLhsl(66, 46%, 51%)
HSVhsv(66, 62%, 73%)
CMYKcmyk(6.4%, 0%, 62%, 26.7%)
CIE-LABlab(72.96, -19.75, 55.57)
CIE-LCHlch(72.96, 58.97, 109.56°)
OKLaboklab(76.01% -0.0586 0.1269)
OKLCHoklch(76.01% 0.14 114.8)
XYZxyz(36.5877, 45.1101, 12.7397)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB47 #5347BB
analogous
#BB8D47 #AFBB47 #75BB47
triadic
#AFBB47 #47AFBB #BB47AF
tetradic
#AFBB47 #47BB8D #5347BB #BB4775
square
#AFBB47 #47BB8D #5347BB #BB4775
split-complementary
#AFBB47 #4775BB #8D47BB
monochromatic
#5D6325 #869035 #AFBB47 #C2CC74 #D6DCA0

Accessibility & contrast

On white

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

On black

10.02
#AFBB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB47
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB47#FFFFFF#000000##000000
##AFBB471.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B239
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb47;
/* rgb */ color: rgb(175, 187, 71);
/* oklch */ color: oklch(76.0% 0.140 114.8);
Tailwind
colors: {
  custom: {
    50: '#c9cf7f',
    500: '#afbb47',
    950: '#000000',
  },
}
SCSS
$custom: #afbb47;
$custom-light: #c9cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb47",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 66.207,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76013,
    "c": 0.1398,
    "h": 114.8
  },
  "luminance": 0.4511
}

Semantic roles & 50–950 ramp

primary
#AFBB47
secondary
#9A95C9
accent
#52D660
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB47

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

Preview Lab → · Contrast checker → · Palette generator →

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