#AFBA43#AFBA43

#AFBA43 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.142 H 114.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#AFBA43
RGBrgb(175, 186, 67)
HSLhsl(66, 47%, 50%)
HSVhsv(66, 64%, 73%)
CMYKcmyk(5.9%, 0%, 64%, 27.1%)
CIE-LABlab(72.65, -19.52, 56.92)
CIE-LCHlch(72.65, 60.17, 108.93°)
OKLaboklab(75.75% -0.0583 0.1292)
OKLCHoklch(75.75% 0.142 114.3)
XYZxyz(36.2521, 44.6377, 12.0153)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA43 #4E43BA
analogous
#BA8A43 #AFBA43 #74BA43
triadic
#AFBA43 #43AFBA #BA43AF
tetradic
#AFBA43 #43BA8A #4E43BA #BA4374
square
#AFBA43 #43BA8A #4E43BA #BA4374
split-complementary
#AFBA43 #4374BA #8A43BA
monochromatic
#5A6023 #858D33 #AFBA43 #C3CB6F #D6DB9C

Accessibility & contrast

On white

2.12
#AFBA43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#AFBA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA43
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA43#FFFFFF#000000##000000
##AFBA431.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B134
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afba43;
/* rgb */ color: rgb(175, 186, 67);
/* oklch */ color: oklch(75.8% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#cace7d',
    500: '#afba43',
    950: '#000000',
  },
}
SCSS
$custom: #afba43;
$custom-light: #cace7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afba43",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 65.546,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75752,
    "c": 0.14179,
    "h": 114.3
  },
  "luminance": 0.44637
}

Semantic roles & 50–950 ramp

primary
#AFBA43
secondary
#9691C8
accent
#51D75D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBA43

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

Preview Lab → · Contrast checker → · Palette generator →

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