#AFBC34#AFBC34

#AFBC34 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.154 H 114.9°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFBC34
RGBrgb(175, 188, 52)
HSLhsl(66, 57%, 47%)
HSVhsv(66, 72%, 74%)
CMYKcmyk(6.9%, 0%, 72.3%, 26.3%)
CIE-LABlab(73.11, -21.38, 63.14)
CIE-LCHlch(73.11, 66.66, 108.70°)
OKLaboklab(76.08% -0.065 0.1399)
OKLCHoklch(76.08% 0.154 114.9)
XYZxyz(36.2833, 45.3290, 10.0862)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC34 #4134BC
analogous
#BC8534 #AFBC34 #6BBC34
triadic
#AFBC34 #34AFBC #BC34AF
tetradic
#AFBC34 #34BC85 #4134BC #BC346B
square
#AFBC34 #34BC85 #4134BC #BC346B
split-complementary
#AFBC34 #346BBC #8534BC
monochromatic
#565C19 #828C27 #AFBC34 #C6D25B #D7DF8B

Accessibility & contrast

On white

2.09
#AFBC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFBC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC34
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC34#FFFFFF#000000##000000
##AFBC341.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB21A
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#BAB1A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc34;
/* rgb */ color: rgb(175, 188, 52);
/* oklch */ color: oklch(76.1% 0.154 114.9);
Tailwind
colors: {
  custom: {
    50: '#cad075',
    500: '#afbc34',
    950: '#000000',
  },
}
SCSS
$custom: #afbc34;
$custom-light: #cad075;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc34",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 65.735,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76084,
    "c": 0.15429,
    "h": 114.9
  },
  "luminance": 0.45328
}

Semantic roles & 50–950 ramp

primary
#AFBC34
secondary
#8983C9
accent
#48E056
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBC34

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

Preview Lab → · Contrast checker → · Palette generator →

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