#AFBA49#AFBA49

#AFBA49 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.137 H 114.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#AFBA49
RGBrgb(175, 186, 73)
HSLhsl(66, 45%, 51%)
HSVhsv(66, 61%, 73%)
CMYKcmyk(5.9%, 0%, 60.8%, 27.1%)
CIE-LABlab(72.70, -19.10, 54.42)
CIE-LCHlch(72.70, 57.68, 109.34°)
OKLaboklab(75.81% -0.0566 0.1248)
OKLCHoklch(75.81% 0.137 114.4)
XYZxyz(36.4415, 44.7134, 13.0129)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA49 #5449BA
analogous
#BA8C49 #AFBA49 #76BA49
triadic
#AFBA49 #49AFBA #BA49AF
tetradic
#AFBA49 #49BA8C #5449BA #BA4976
square
#AFBA49 #49BA8C #5449BA #BA4976
split-complementary
#AFBA49 #4976BA #8C49BA
monochromatic
#5D6326 #878F36 #AFBA49 #C3CB75 #D6DCA2

Accessibility & contrast

On white

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

On black

9.94
#AFBA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA49
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA49#FFFFFF#000000##000000
##AFBA491.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afba49;
/* rgb */ color: rgb(175, 186, 73);
/* oklch */ color: oklch(75.8% 0.137 114.4);
Tailwind
colors: {
  custom: {
    50: '#c9ce80',
    500: '#afba49',
    950: '#000000',
  },
}
SCSS
$custom: #afba49;
$custom-light: #c9ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#afba49",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 65.841,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75809,
    "c": 0.137,
    "h": 114.4
  },
  "luminance": 0.44713
}

Semantic roles & 50–950 ramp

primary
#AFBA49
secondary
#9B96C8
accent
#53D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBA49

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

Preview Lab → · Contrast checker → · Palette generator →

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