#AFB043#AFB043

#AFB043 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.131 H 109.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AFB043
RGBrgb(175, 176, 67)
HSLhsl(61, 45%, 48%)
HSVhsv(61, 62%, 69%)
CMYKcmyk(0.6%, 0%, 61.9%, 31%)
CIE-LABlab(69.87, -14.45, 53.97)
CIE-LCHlch(69.87, 55.87, 104.99°)
OKLaboklab(73.53% -0.0441 0.123)
OKLCHoklch(73.53% 0.131 109.7)
XYZxyz(34.2187, 40.5708, 11.3375)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB043 #4443B0
analogous
#B07A43 #AFB043 #79B043
triadic
#AFB043 #43AFB0 #B043AF
tetradic
#AFB043 #43B07A #4443B0 #B04379
square
#AFB043 #43B07A #4443B0 #B04379
split-complementary
#AFB043 #4379B0 #7A43B0
monochromatic
#575721 #838432 #AFB043 #C5C66A #D7D796

Accessibility & contrast

On white

2.30
#AFB043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#AFB043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB043
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB043#FFFFFF#000000##000000
##AFB0431.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA936
Deuteranopia (green-blind)
#BFAC4A
Tritanopia (blue-blind)
#BBA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb043;
/* rgb */ color: rgb(175, 176, 67);
/* oklch */ color: oklch(73.5% 0.131 109.7);
Tailwind
colors: {
  custom: {
    50: '#cac77c',
    500: '#afb043',
    950: '#000000',
  },
}
SCSS
$custom: #afb043;
$custom-light: #cac77c;
$custom-dark: #000000;
JSON
{
  "hex": "#afb043",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 60.55,
    "s": 44.856,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73531,
    "c": 0.13065,
    "h": 109.7
  },
  "luminance": 0.4057
}

Semantic roles & 50–950 ramp

primary
#AFB043
secondary
#8C8CC3
accent
#53D554
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB043

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

Preview Lab → · Contrast checker → · Palette generator →

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