#AFB249#AFB249

#AFB249 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.128 H 110.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#AFB249
RGBrgb(175, 178, 73)
HSLhsl(62, 42%, 49%)
HSVhsv(62, 59%, 70%)
CMYKcmyk(1.7%, 0%, 59%, 30.2%)
CIE-LABlab(70.48, -15.05, 51.99)
CIE-LCHlch(70.48, 54.12, 106.15°)
OKLaboklab(74.03% -0.0451 0.1196)
OKLCHoklch(74.03% 0.128 110.7)
XYZxyz(34.8031, 41.4366, 12.4668)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB249 #4C49B2
analogous
#B28149 #AFB249 #7BB249
triadic
#AFB249 #49AFB2 #B249AF
tetradic
#AFB249 #49B281 #4C49B2 #B2497B
square
#AFB249 #49B281 #4C49B2 #B2497B
split-complementary
#AFB249 #497BB2 #8149B2
monochromatic
#5A5B25 #848737 #AFB249 #C3C573 #D6D79E

Accessibility & contrast

On white

2.26
#AFB249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#AFB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB249
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB249#FFFFFF#000000##000000
##AFB2491.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C0AE4F
Tritanopia (blue-blind)
#BAA89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb249;
/* rgb */ color: rgb(175, 178, 73);
/* oklch */ color: oklch(74.0% 0.128 110.7);
Tailwind
colors: {
  custom: {
    50: '#c9c880',
    500: '#afb249',
    950: '#000000',
  },
}
SCSS
$custom: #afb249;
$custom-light: #c9c880;
$custom-dark: #000000;
JSON
{
  "hex": "#afb249",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 61.714,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74032,
    "c": 0.12785,
    "h": 110.7
  },
  "luminance": 0.41436
}

Semantic roles & 50–950 ramp

primary
#AFB249
secondary
#9493C4
accent
#56D25A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB249

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

Preview Lab → · Contrast checker → · Palette generator →

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