#AFB06D#AFB06D

#AFB06D is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.089 H 109.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#AFB06D
RGBrgb(175, 176, 109)
HSLhsl(61, 30%, 56%)
HSVhsv(61, 38%, 69%)
CMYKcmyk(0.6%, 0%, 38.1%, 31%)
CIE-LABlab(70.36, -10.61, 34.21)
CIE-LCHlch(70.36, 35.82, 107.24°)
OKLaboklab(74.08% -0.029 0.0836)
OKLCHoklch(74.08% 0.089 109.1)
XYZxyz(35.9653, 41.2694, 20.5362)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB06D #6E6DB0
analogous
#B08F6D #AFB06D #8DB06D
triadic
#AFB06D #6DAFB0 #B06DAF
tetradic
#AFB06D #6DB08F #6E6DB0 #B06D8D
square
#AFB06D #6DB08F #6E6DB0 #B06D8D
split-complementary
#AFB06D #6D8DB0 #8F6DB0
monochromatic
#696A39 #90914F #AFB06D #C5C595 #DBDBBC

Accessibility & contrast

On white

2.27
#AFB06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#AFB06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB06D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB06D#FFFFFF#000000##000000
##AFB06D1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB68
Deuteranopia (green-blind)
#BBAD70
Tritanopia (blue-blind)
#B8A89F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb06d;
/* rgb */ color: rgb(175, 176, 109);
/* oklch */ color: oklch(74.1% 0.089 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c798',
    500: '#afb06d',
    950: '#000000',
  },
}
SCSS
$custom: #afb06d;
$custom-light: #c8c798;
$custom-dark: #000000;
JSON
{
  "hex": "#afb06d",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 109
  },
  "hsl": {
    "h": 60.896,
    "s": 29.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.08852,
    "h": 109.1
  },
  "luminance": 0.41269
}

Semantic roles & 50–950 ramp

primary
#AFB06D
secondary
#AFAFCA
accent
#62C663
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB06D

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

Preview Lab → · Contrast checker → · Palette generator →

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