#AFBC47#AFBC47

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

Color values

HEX#AFBC47
RGBrgb(175, 188, 71)
HSLhsl(67, 47%, 51%)
HSVhsv(67, 62%, 74%)
CMYKcmyk(6.9%, 0%, 62.2%, 26.3%)
CIE-LABlab(73.24, -20.24, 55.87)
CIE-LCHlch(73.24, 59.42, 109.92°)
OKLaboklab(76.24% -0.06 0.1276)
OKLCHoklch(76.24% 0.141 115.2)
XYZxyz(36.8006, 45.5359, 12.8107)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC47 #5447BC
analogous
#BC8F47 #AFBC47 #74BC47
triadic
#AFBC47 #47AFBC #BC47AF
tetradic
#AFBC47 #47BC8F #5447BC #BC4774
square
#AFBC47 #47BC8F #5447BC #BC4774
split-complementary
#AFBC47 #4774BC #8F47BC
monochromatic
#5D6424 #879135 #AFBC47 #C3CC74 #D6DDA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC47#FFFFFF#000000##000000
##AFBC471.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)
#C9B339
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#BAB2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc47;
/* rgb */ color: rgb(175, 188, 71);
/* oklch */ color: oklch(76.2% 0.141 115.2);
Tailwind
colors: {
  custom: {
    50: '#cad07f',
    500: '#afbc47',
    950: '#000000',
  },
}
SCSS
$custom: #afbc47;
$custom-light: #cad07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc47",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 66.667,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76236,
    "c": 0.14096,
    "h": 115.2
  },
  "luminance": 0.45535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBC47

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

Preview Lab → · Contrast checker → · Palette generator →

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