#AFB06F#AFB06F

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

Color values

HEX#AFB06F
RGBrgb(175, 176, 111)
HSLhsl(61, 29%, 56%)
HSVhsv(61, 37%, 69%)
CMYKcmyk(0.6%, 0%, 36.9%, 31%)
CIE-LABlab(70.39, -10.38, 33.20)
CIE-LCHlch(70.39, 34.79, 107.36°)
OKLaboklab(74.11% -0.0282 0.0814)
OKLCHoklch(74.11% 0.086 109.1)
XYZxyz(36.0742, 41.3130, 21.1097)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB06F #706FB0
analogous
#B0916F #AFB06F #8FB06F
triadic
#AFB06F #6FAFB0 #B06FAF
tetradic
#AFB06F #6FB091 #706FB0 #B06F8F
square
#AFB06F #6FB091 #706FB0 #B06F8F
split-complementary
#AFB06F #6F8FB0 #916FB0
monochromatic
#6A6A3A #919250 #AFB06F #C5C697 #DBDBBE

Accessibility & contrast

On white

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

On black

9.26
#AFB06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB06F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB06F#FFFFFF#000000##000000
##AFB06F1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6A
Deuteranopia (green-blind)
#BBAD72
Tritanopia (blue-blind)
#B8A8A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb06f;
/* rgb */ color: rgb(175, 176, 111);
/* oklch */ color: oklch(74.1% 0.086 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c799',
    500: '#afb06f',
    950: '#000000',
  },
}
SCSS
$custom: #afb06f;
$custom-light: #c8c799;
$custom-dark: #000000;
JSON
{
  "hex": "#afb06f",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 111
  },
  "hsl": {
    "h": 60.923,
    "s": 29.148,
    "l": 56.275
  },
  "oklch": {
    "l": 0.74114,
    "c": 0.08616,
    "h": 109.1
  },
  "luminance": 0.41312
}

Semantic roles & 50–950 ramp

primary
#AFB06F
secondary
#B0B0CB
accent
#62C564
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB06F

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

Preview Lab → · Contrast checker → · Palette generator →

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