#AFBC48#AFBC48

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

Color values

HEX#AFBC48
RGBrgb(175, 188, 72)
HSLhsl(67, 46%, 51%)
HSVhsv(67, 62%, 74%)
CMYKcmyk(6.9%, 0%, 61.7%, 26.3%)
CIE-LABlab(73.25, -20.17, 55.45)
CIE-LCHlch(73.25, 59.00, 109.99°)
OKLaboklab(76.25% -0.0597 0.1268)
OKLCHoklch(76.25% 0.14 115.2)
XYZxyz(36.8329, 45.5488, 12.9811)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC48 #5548BC
analogous
#BC8F48 #AFBC48 #75BC48
triadic
#AFBC48 #48AFBC #BC48AF
tetradic
#AFBC48 #48BC8F #5548BC #BC4875
square
#AFBC48 #48BC8F #5548BC #BC4875
split-complementary
#AFBC48 #4875BC #8F48BC
monochromatic
#5E6525 #879235 #AFBC48 #C3CC75 #D6DDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC48#FFFFFF#000000##000000
##AFBC481.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)
#C9B33A
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#B9B2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc48;
/* rgb */ color: rgb(175, 188, 72);
/* oklch */ color: oklch(76.2% 0.140 115.2);
Tailwind
colors: {
  custom: {
    50: '#c9d080',
    500: '#afbc48',
    950: '#000000',
  },
}
SCSS
$custom: #afbc48;
$custom-light: #c9d080;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc48",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 66.724,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.14017,
    "h": 115.2
  },
  "luminance": 0.45548
}

Semantic roles & 50–950 ramp

primary
#AFBC48
secondary
#9C96CA
accent
#52D661
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBC48

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

Preview Lab → · Contrast checker → · Palette generator →

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