#AFB648#AFB648

#AFB648 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.133 H 112.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB648
RGBrgb(175, 182, 72)
HSLhsl(64, 43%, 50%)
HSVhsv(64, 60%, 71%)
CMYKcmyk(3.8%, 0%, 60.4%, 28.6%)
CIE-LABlab(71.58, -17.16, 53.64)
CIE-LCHlch(71.58, 56.32, 107.74°)
OKLaboklab(74.91% -0.0512 0.123)
OKLCHoklch(74.91% 0.133 112.6)
XYZxyz(35.5777, 43.0385, 12.5627)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB648 #4F48B6
analogous
#B68648 #AFB648 #78B648
triadic
#AFB648 #48AFB6 #B648AF
tetradic
#AFB648 #48B686 #4F48B6 #B64878
square
#AFB648 #48B686 #4F48B6 #B64878
split-complementary
#AFB648 #4878B6 #8648B6
monochromatic
#5B5E25 #858A37 #AFB648 #C2C873 #D5D99F

Accessibility & contrast

On white

2.19
#AFB648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AFB648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB648
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB648#FFFFFF#000000##000000
##AFB6481.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3B
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#BAAC9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb648;
/* rgb */ color: rgb(175, 182, 72);
/* oklch */ color: oklch(74.9% 0.133 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb80',
    500: '#afb648',
    950: '#000000',
  },
}
SCSS
$custom: #afb648;
$custom-light: #c9cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afb648",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 63.818,
    "s": 43.307,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74908,
    "c": 0.13322,
    "h": 112.6
  },
  "luminance": 0.43038
}

Semantic roles & 50–950 ramp

primary
#AFB648
secondary
#9794C6
accent
#55D35D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB648

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

Preview Lab → · Contrast checker → · Palette generator →

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