#AFB446#AFB446

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

Color values

HEX#AFB446
RGBrgb(175, 180, 70)
HSLhsl(63, 44%, 49%)
HSVhsv(63, 61%, 71%)
CMYKcmyk(2.8%, 0%, 61.1%, 29.4%)
CIE-LABlab(71.01, -16.29, 53.89)
CIE-LCHlch(71.01, 56.30, 106.82°)
OKLaboklab(74.44% -0.0489 0.1233)
OKLCHoklch(74.44% 0.133 111.7)
XYZxyz(35.1069, 42.1995, 12.0891)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB446 #4B46B4
analogous
#B48246 #AFB446 #78B446
triadic
#AFB446 #46AFB4 #B446AF
tetradic
#AFB446 #46B482 #4B46B4 #B44678
square
#AFB446 #46B482 #4B46B4 #B44678
split-complementary
#AFB446 #4678B4 #8246B4
monochromatic
#595C24 #848835 #AFB446 #C3C770 #D6D89C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB446#FFFFFF#000000##000000
##AFB4461.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)
#C1AC39
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb446;
/* rgb */ color: rgb(175, 180, 70);
/* oklch */ color: oklch(74.4% 0.133 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca7e',
    500: '#afb446',
    950: '#000000',
  },
}
SCSS
$custom: #afb446;
$custom-light: #c9ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb446",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 70
  },
  "hsl": {
    "h": 62.727,
    "s": 44,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74445,
    "c": 0.13261,
    "h": 111.7
  },
  "luminance": 0.42199
}

Semantic roles & 50–950 ramp

primary
#AFB446
secondary
#9391C5
accent
#54D45A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB446

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

Preview Lab → · Contrast checker → · Palette generator →

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