#AFB447#AFB447

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

Color values

HEX#AFB447
RGBrgb(175, 180, 71)
HSLhsl(63, 43%, 49%)
HSVhsv(63, 61%, 71%)
CMYKcmyk(2.8%, 0%, 60.6%, 29.4%)
CIE-LABlab(71.02, -16.22, 53.46)
CIE-LCHlch(71.02, 55.87, 106.88°)
OKLaboklab(74.46% -0.0486 0.1225)
OKLCHoklch(74.46% 0.132 111.7)
XYZxyz(35.1387, 42.2122, 12.2567)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB447 #4C47B4
analogous
#B48347 #AFB447 #79B447
triadic
#AFB447 #47AFB4 #B447AF
tetradic
#AFB447 #47B483 #4C47B4 #B44779
square
#AFB447 #47B483 #4C47B4 #B44779
split-complementary
#AFB447 #4779B4 #8347B4
monochromatic
#5A5C24 #848836 #AFB447 #C3C771 #D6D89D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB447#FFFFFF#000000##000000
##AFB4471.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)
#C1AC3A
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb447;
/* rgb */ color: rgb(175, 180, 71);
/* oklch */ color: oklch(74.5% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca7f',
    500: '#afb447',
    950: '#000000',
  },
}
SCSS
$custom: #afb447;
$custom-light: #c9ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb447",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 62.752,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.13179,
    "h": 111.7
  },
  "luminance": 0.42211
}

Semantic roles & 50–950 ramp

primary
#AFB447
secondary
#9492C5
accent
#55D35A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB447

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

Preview Lab → · Contrast checker → · Palette generator →

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