#AFB94D#AFB94D

#AFB94D is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.132 H 114.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#AFB94D
RGBrgb(175, 185, 77)
HSLhsl(66, 44%, 51%)
HSVhsv(66, 58%, 73%)
CMYKcmyk(5.4%, 0%, 58.4%, 27.5%)
CIE-LABlab(72.46, -18.30, 52.39)
CIE-LCHlch(72.46, 55.49, 109.26°)
OKLaboklab(75.63% -0.0539 0.121)
OKLCHoklch(75.63% 0.132 114)
XYZxyz(36.3685, 44.3483, 13.6640)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB94D #574DB9
analogous
#B98D4D #AFB94D #79B94D
triadic
#AFB94D #4DAFB9 #B94DAF
tetradic
#AFB94D #4DB98D #574DB9 #B94D79
square
#AFB94D #4DB98D #574DB9 #B94D79
split-complementary
#AFB94D #4D79B9 #8D4DB9
monochromatic
#5F6427 #889039 #AFB94D #C3CA79 #D6DCA5

Accessibility & contrast

On white

2.13
#AFB94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#AFB94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB94D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB94D#FFFFFF#000000##000000
##AFB94D1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B141
Deuteranopia (green-blind)
#C5B354
Tritanopia (blue-blind)
#B9AFA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb94d;
/* rgb */ color: rgb(175, 185, 77);
/* oklch */ color: oklch(75.6% 0.132 114.0);
Tailwind
colors: {
  custom: {
    50: '#c9cd83',
    500: '#afb94d',
    950: '#000000',
  },
}
SCSS
$custom: #afb94d;
$custom-light: #c9cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afb94d",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 65.556,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.13243,
    "h": 114
  },
  "luminance": 0.44348
}

Semantic roles & 50–950 ramp

primary
#AFB94D
secondary
#9E99C9
accent
#55D360
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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