#AFB949#AFB949

#AFB949 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.136 H 114.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#AFB949
RGBrgb(175, 185, 73)
HSLhsl(65, 44%, 51%)
HSVhsv(65, 61%, 73%)
CMYKcmyk(5.4%, 0%, 60.5%, 27.5%)
CIE-LABlab(72.42, -18.60, 54.12)
CIE-LCHlch(72.42, 57.23, 108.97°)
OKLaboklab(75.59% -0.0551 0.1241)
OKLCHoklch(75.59% 0.136 114)
XYZxyz(36.2316, 44.2936, 12.9429)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB949 #5349B9
analogous
#B98B49 #AFB949 #77B949
triadic
#AFB949 #49AFB9 #B949AF
tetradic
#AFB949 #49B98B #5349B9 #B94977
square
#AFB949 #49B98B #5349B9 #B94977
split-complementary
#AFB949 #4977B9 #8B49B9
monochromatic
#5D6226 #868E37 #AFB949 #C2CA75 #D6DBA1

Accessibility & contrast

On white

2.13
#AFB949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#AFB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB949
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB949#FFFFFF#000000##000000
##AFB9491.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#C5B350
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb949;
/* rgb */ color: rgb(175, 185, 73);
/* oklch */ color: oklch(75.6% 0.136 114.0);
Tailwind
colors: {
  custom: {
    50: '#c9cd80',
    500: '#afb949',
    950: '#000000',
  },
}
SCSS
$custom: #afb949;
$custom-light: #c9cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#afb949",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 65.357,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.13584,
    "h": 114
  },
  "luminance": 0.44293
}

Semantic roles & 50–950 ramp

primary
#AFB949
secondary
#9A96C8
accent
#54D45F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB949

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

Preview Lab → · Contrast checker → · Palette generator →

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