#AFB643#AFB643

#AFB643 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.137 H 112.6°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#AFB643
RGBrgb(175, 182, 67)
HSLhsl(64, 46%, 49%)
HSVhsv(64, 63%, 71%)
CMYKcmyk(3.8%, 0%, 63.2%, 28.6%)
CIE-LABlab(71.54, -17.51, 55.74)
CIE-LCHlch(71.54, 58.43, 107.44°)
OKLaboklab(74.86% -0.0527 0.1267)
OKLCHoklch(74.86% 0.137 112.6)
XYZxyz(35.4212, 42.9759, 11.7383)
Luminance0.4298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB643 #4A43B6
analogous
#B68443 #AFB643 #76B643
triadic
#AFB643 #43AFB6 #B643AF
tetradic
#AFB643 #43B684 #4A43B6 #B64376
square
#AFB643 #43B684 #4A43B6 #B64376
split-complementary
#AFB643 #4376B6 #8443B6
monochromatic
#595D22 #848933 #AFB643 #C4C96D #D6DA9A

Accessibility & contrast

On white

2.19
#AFB643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#AFB643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB643
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB643#FFFFFF#000000##000000
##AFB6431.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#C3B14A
Tritanopia (blue-blind)
#BAAC9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb643;
/* rgb */ color: rgb(175, 182, 67);
/* oklch */ color: oklch(74.9% 0.137 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb7d',
    500: '#afb643',
    950: '#000000',
  },
}
SCSS
$custom: #afb643;
$custom-light: #cacb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb643",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 63.652,
    "s": 46.185,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.13726,
    "h": 112.6
  },
  "luminance": 0.42975
}

Semantic roles & 50–950 ramp

primary
#AFB643
secondary
#928FC6
accent
#52D65A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB643

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

Preview Lab → · Contrast checker → · Palette generator →

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