#AFBA44#AFBA44

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

Color values

HEX#AFBA44
RGBrgb(175, 186, 68)
HSLhsl(66, 46%, 50%)
HSVhsv(66, 63%, 73%)
CMYKcmyk(5.9%, 0%, 63.4%, 27.1%)
CIE-LABlab(72.66, -19.45, 56.51)
CIE-LCHlch(72.66, 59.76, 108.99°)
OKLaboklab(75.76% -0.0581 0.1285)
OKLCHoklch(75.76% 0.141 114.3)
XYZxyz(36.2824, 44.6498, 12.1747)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA44 #4F44BA
analogous
#BA8A44 #AFBA44 #74BA44
triadic
#AFBA44 #44AFBA #BA44AF
tetradic
#AFBA44 #44BA8A #4F44BA #BA4474
square
#AFBA44 #44BA8A #4F44BA #BA4474
split-complementary
#AFBA44 #4474BA #8A44BA
monochromatic
#5B6023 #858D34 #AFBA44 #C2CB70 #D5DB9D

Accessibility & contrast

On white

2.11
#AFBA44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBA44#FFFFFF#000000##000000
##AFBA441.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B135
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afba44;
/* rgb */ color: rgb(175, 186, 68);
/* oklch */ color: oklch(75.8% 0.141 114.3);
Tailwind
colors: {
  custom: {
    50: '#cace7e',
    500: '#afba44',
    950: '#000000',
  },
}
SCSS
$custom: #afba44;
$custom-light: #cace7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afba44",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 68
  },
  "hsl": {
    "h": 65.593,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75761,
    "c": 0.14102,
    "h": 114.3
  },
  "luminance": 0.44649
}

Semantic roles & 50–950 ramp

primary
#AFBA44
secondary
#9792C8
accent
#52D65E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBA44

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

Preview Lab → · Contrast checker → · Palette generator →

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