#AFBC49#AFBC49

#AFBC49 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.139 H 115.2°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#AFBC49
RGBrgb(175, 188, 73)
HSLhsl(67, 46%, 51%)
HSVhsv(67, 61%, 74%)
CMYKcmyk(6.9%, 0%, 61.2%, 26.3%)
CIE-LABlab(73.26, -20.10, 55.03)
CIE-LCHlch(73.26, 58.58, 110.07°)
OKLaboklab(76.26% -0.0594 0.1261)
OKLCHoklch(76.26% 0.139 115.2)
XYZxyz(36.8658, 45.5620, 13.1543)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC49 #5649BC
analogous
#BC8F49 #AFBC49 #75BC49
triadic
#AFBC49 #49AFBC #BC49AF
tetradic
#AFBC49 #49BC8F #5649BC #BC4975
square
#AFBC49 #49BC8F #5649BC #BC4975
split-complementary
#AFBC49 #4975BC #8F49BC
monochromatic
#5E6525 #889236 #AFBC49 #C3CC76 #D6DDA2

Accessibility & contrast

On white

2.08
#AFBC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#AFBC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC49
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC49#FFFFFF#000000##000000
##AFBC491.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33B
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc49;
/* rgb */ color: rgb(175, 188, 73);
/* oklch */ color: oklch(76.3% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9d081',
    500: '#afbc49',
    950: '#000000',
  },
}
SCSS
$custom: #afbc49;
$custom-light: #c9d081;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc49",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 73
  },
  "hsl": {
    "h": 66.783,
    "s": 46.185,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76255,
    "c": 0.13935,
    "h": 115.2
  },
  "luminance": 0.45561
}

Semantic roles & 50–950 ramp

primary
#AFBC49
secondary
#9D97CA
accent
#52D661
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBC49

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

Preview Lab → · Contrast checker → · Palette generator →

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