#AFB549#AFB549

#AFB549 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.131 H 112.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#AFB549
RGBrgb(175, 181, 73)
HSLhsl(63, 43%, 50%)
HSVhsv(63, 60%, 71%)
CMYKcmyk(3.3%, 0%, 59.7%, 29%)
CIE-LABlab(71.31, -16.58, 52.90)
CIE-LCHlch(71.31, 55.44, 107.40°)
OKLaboklab(74.7% -0.0495 0.1216)
OKLCHoklch(74.7% 0.131 112.1)
XYZxyz(35.4066, 42.6435, 12.6679)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB549 #4F49B5
analogous
#B58549 #AFB549 #79B549
triadic
#AFB549 #49AFB5 #B549AF
tetradic
#AFB549 #49B585 #4F49B5 #B54979
square
#AFB549 #49B585 #4F49B5 #B54979
split-complementary
#AFB549 #4979B5 #8549B5
monochromatic
#5B5E26 #858937 #AFB549 #C2C774 #D5D9A0

Accessibility & contrast

On white

2.20
#AFB549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#AFB549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB549
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB549#FFFFFF#000000##000000
##AFB5491.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3D
Deuteranopia (green-blind)
#C2B050
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb549;
/* rgb */ color: rgb(175, 181, 73);
/* oklch */ color: oklch(74.7% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#c9cb80',
    500: '#afb549',
    950: '#000000',
  },
}
SCSS
$custom: #afb549;
$custom-light: #c9cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afb549",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 63.333,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74696,
    "c": 0.13124,
    "h": 112.1
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#AFB549
secondary
#9794C5
accent
#55D25C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB549

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

Preview Lab → · Contrast checker → · Palette generator →

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