#AFB644#AFB644

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

Color values

HEX#AFB644
RGBrgb(175, 182, 68)
HSLhsl(64, 46%, 49%)
HSVhsv(64, 63%, 71%)
CMYKcmyk(3.8%, 0%, 62.6%, 28.6%)
CIE-LABlab(71.55, -17.44, 55.33)
CIE-LCHlch(71.55, 58.01, 107.50°)
OKLaboklab(74.87% -0.0524 0.126)
OKLCHoklch(74.87% 0.136 112.6)
XYZxyz(35.4515, 42.9880, 11.8977)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB644 #4B44B6
analogous
#B68444 #AFB644 #76B644
triadic
#AFB644 #44AFB6 #B644AF
tetradic
#AFB644 #44B684 #4B44B6 #B64476
square
#AFB644 #44B684 #4B44B6 #B64476
split-complementary
#AFB644 #4476B6 #8444B6
monochromatic
#595D23 #848933 #AFB644 #C3C96E #D6DA9B

Accessibility & contrast

On white

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

On black

9.60
#AFB644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB644
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB644#FFFFFF#000000##000000
##AFB6441.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb644;
/* rgb */ color: rgb(175, 182, 68);
/* oklch */ color: oklch(74.9% 0.136 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb7d',
    500: '#afb644',
    950: '#000000',
  },
}
SCSS
$custom: #afb644;
$custom-light: #cacb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb644",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 68
  },
  "hsl": {
    "h": 63.684,
    "s": 45.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7487,
    "c": 0.13647,
    "h": 112.6
  },
  "luminance": 0.42987
}

Semantic roles & 50–950 ramp

primary
#AFB644
secondary
#9390C6
accent
#53D55B
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB644

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

Preview Lab → · Contrast checker → · Palette generator →

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