#AFB443#AFB443

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

Color values

HEX#AFB443
RGBrgb(175, 180, 67)
HSLhsl(63, 46%, 48%)
HSVhsv(63, 63%, 71%)
CMYKcmyk(2.8%, 0%, 62.8%, 29.4%)
CIE-LABlab(70.98, -16.49, 55.15)
CIE-LCHlch(70.98, 57.56, 106.65°)
OKLaboklab(74.42% -0.0498 0.1255)
OKLCHoklch(74.42% 0.135 111.7)
XYZxyz(35.0145, 42.1625, 11.6028)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB443 #4843B4
analogous
#B48043 #AFB443 #76B443
triadic
#AFB443 #43AFB4 #B443AF
tetradic
#AFB443 #43B480 #4843B4 #B44376
square
#AFB443 #43B480 #4843B4 #B44376
split-complementary
#AFB443 #4376B4 #8043B4
monochromatic
#585B22 #848732 #AFB443 #C4C86C #D6D999

Accessibility & contrast

On white

2.23
#AFB443 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AFB443 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB443
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB443#FFFFFF#000000##000000
##AFB4431.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#BAAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb443;
/* rgb */ color: rgb(175, 180, 67);
/* oklch */ color: oklch(74.4% 0.135 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca7c',
    500: '#afb443',
    950: '#000000',
  },
}
SCSS
$custom: #afb443;
$custom-light: #caca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afb443",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 67
  },
  "hsl": {
    "h": 62.655,
    "s": 45.749,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74416,
    "c": 0.13504,
    "h": 111.7
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#AFB443
secondary
#908EC5
accent
#52D558
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB443

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

Preview Lab → · Contrast checker → · Palette generator →

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