#AFB968#AFB968

#AFB968 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.106 H 114.7°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#AFB968
RGBrgb(175, 185, 104)
HSLhsl(67, 37%, 57%)
HSVhsv(67, 44%, 73%)
CMYKcmyk(5.4%, 0%, 43.8%, 27.5%)
CIE-LABlab(72.77, -15.81, 39.80)
CIE-LCHlch(72.77, 42.83, 111.67°)
OKLaboklab(75.97% -0.0442 0.096)
OKLCHoklch(75.97% 0.106 114.7)
XYZxyz(37.5272, 44.8118, 19.7666)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB968 #7268B9
analogous
#B99B68 #AFB968 #87B968
triadic
#AFB968 #68AFB9 #B968AF
tetradic
#AFB968 #68B99B #7268B9 #B96887
square
#AFB968 #68B99B #7268B9 #B96887
split-complementary
#AFB968 #6887B9 #9B68B9
monochromatic
#6A7235 #919C48 #AFB968 #C5CC92 #DBE0BC

Accessibility & contrast

On white

2.11
#AFB968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#AFB968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB968
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB968#FFFFFF#000000##000000
##AFB9681.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B261
Deuteranopia (green-blind)
#C3B36C
Tritanopia (blue-blind)
#B7B1A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afb968;
/* rgb */ color: rgb(175, 185, 104);
/* oklch */ color: oklch(76.0% 0.106 114.7);
Tailwind
colors: {
  custom: {
    50: '#c8ce94',
    500: '#afb968',
    950: '#000000',
  },
}
SCSS
$custom: #afb968;
$custom-light: #c8ce94;
$custom-dark: #000000;
JSON
{
  "hex": "#afb968",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 104
  },
  "hsl": {
    "h": 67.407,
    "s": 36.652,
    "l": 56.667
  },
  "oklch": {
    "l": 0.75971,
    "c": 0.1057,
    "h": 114.7
  },
  "luminance": 0.44811
}

Semantic roles & 50–950 ramp

primary
#AFB968
secondary
#B2AECF
accent
#5BCD69
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB968

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

Preview Lab → · Contrast checker → · Palette generator →

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