#AFB464#AFB464

#AFB464 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.104 H 111.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#AFB464
RGBrgb(175, 180, 100)
HSLhsl(64, 35%, 55%)
HSVhsv(64, 44%, 71%)
CMYKcmyk(2.8%, 0%, 44.4%, 29.4%)
CIE-LABlab(71.34, -13.68, 40.05)
CIE-LCHlch(71.34, 42.32, 108.85°)
OKLaboklab(74.81% -0.0385 0.0963)
OKLCHoklch(74.81% 0.104 111.8)
XYZxyz(36.3012, 42.6772, 18.3793)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB464 #6964B4
analogous
#B49164 #AFB464 #87B464
triadic
#AFB464 #64AFB4 #B464AF
tetradic
#AFB464 #64B491 #6964B4 #B46487
square
#AFB464 #64B491 #6964B4 #B46487
split-complementary
#AFB464 #6487B4 #9164B4
monochromatic
#676A33 #8F9347 #AFB464 #C4C88D #DADCB6

Accessibility & contrast

On white

2.20
#AFB464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#AFB464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB464
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB464#FFFFFF#000000##000000
##AFB4641.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAE5D
Deuteranopia (green-blind)
#BFB068
Tritanopia (blue-blind)
#B8ACA1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb464;
/* rgb */ color: rgb(175, 180, 100);
/* oklch */ color: oklch(74.8% 0.104 111.8);
Tailwind
colors: {
  custom: {
    50: '#c8ca92',
    500: '#afb464',
    950: '#000000',
  },
}
SCSS
$custom: #afb464;
$custom-light: #c8ca92;
$custom-dark: #000000;
JSON
{
  "hex": "#afb464",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 100
  },
  "hsl": {
    "h": 63.75,
    "s": 34.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74811,
    "c": 0.1037,
    "h": 111.8
  },
  "luminance": 0.42677
}

Semantic roles & 50–950 ramp

primary
#AFB464
secondary
#ABA9CB
accent
#5DCB64
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB464

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

Preview Lab → · Contrast checker → · Palette generator →

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