#AFBC46#AFBC46

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

Color values

HEX#AFBC46
RGBrgb(175, 188, 70)
HSLhsl(67, 47%, 51%)
HSVhsv(67, 63%, 74%)
CMYKcmyk(6.9%, 0%, 62.8%, 26.3%)
CIE-LABlab(73.24, -20.31, 56.28)
CIE-LCHlch(73.24, 59.83, 109.85°)
OKLaboklab(76.23% -0.0603 0.1283)
OKLCHoklch(76.23% 0.142 115.2)
XYZxyz(36.7687, 45.5232, 12.6431)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC46 #5346BC
analogous
#BC8E46 #AFBC46 #74BC46
triadic
#AFBC46 #46AFBC #BC46AF
tetradic
#AFBC46 #46BC8E #5346BC #BC4674
square
#AFBC46 #46BC8E #5346BC #BC4674
split-complementary
#AFBC46 #4674BC #8E46BC
monochromatic
#5D6424 #869034 #AFBC46 #C2CC73 #D6DDA0

Accessibility & contrast

On white

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

On black

10.10
#AFBC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC46
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC46#FFFFFF#000000##000000
##AFBC461.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B337
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc46;
/* rgb */ color: rgb(175, 188, 70);
/* oklch */ color: oklch(76.2% 0.142 115.2);
Tailwind
colors: {
  custom: {
    50: '#cad07f',
    500: '#afbc46',
    950: '#000000',
  },
}
SCSS
$custom: #afbc46;
$custom-light: #cad07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc46",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 70
  },
  "hsl": {
    "h": 66.61,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.14176,
    "h": 115.2
  },
  "luminance": 0.45523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBC46

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

Preview Lab → · Contrast checker → · Palette generator →

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