#AFB448#AFB448

#AFB448 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.131 H 111.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#AFB448
RGBrgb(175, 180, 72)
HSLhsl(63, 43%, 49%)
HSVhsv(63, 60%, 71%)
CMYKcmyk(2.8%, 0%, 60%, 29.4%)
CIE-LABlab(71.03, -16.15, 53.03)
CIE-LCHlch(71.03, 55.43, 106.93°)
OKLaboklab(74.47% -0.0483 0.1217)
OKLCHoklch(74.47% 0.131 111.7)
XYZxyz(35.1711, 42.2251, 12.4272)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB448 #4D48B4
analogous
#B48348 #AFB448 #79B448
triadic
#AFB448 #48AFB4 #B448AF
tetradic
#AFB448 #48B483 #4D48B4 #B44879
square
#AFB448 #48B483 #4D48B4 #B44879
split-complementary
#AFB448 #4879B4 #8348B4
monochromatic
#5A5D25 #858837 #AFB448 #C3C772 #D6D89E

Accessibility & contrast

On white

2.22
#AFB448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#AFB448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB448
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB448#FFFFFF#000000##000000
##AFB4481.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb448;
/* rgb */ color: rgb(175, 180, 72);
/* oklch */ color: oklch(74.5% 0.131 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca7f',
    500: '#afb448',
    950: '#000000',
  },
}
SCSS
$custom: #afb448;
$custom-light: #c9ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb448",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 62.778,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74465,
    "c": 0.13095,
    "h": 111.7
  },
  "luminance": 0.42224
}

Semantic roles & 50–950 ramp

primary
#AFB448
secondary
#9593C5
accent
#55D35B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AFB448

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

Preview Lab → · Contrast checker → · Palette generator →

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