#AFB06E#AFB06E

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

Color values

HEX#AFB06E
RGBrgb(175, 176, 110)
HSLhsl(61, 29%, 56%)
HSVhsv(61, 38%, 69%)
CMYKcmyk(0.6%, 0%, 37.5%, 31%)
CIE-LABlab(70.38, -10.50, 33.71)
CIE-LCHlch(70.38, 35.30, 107.30°)
OKLaboklab(74.1% -0.0286 0.0825)
OKLCHoklch(74.1% 0.087 109.1)
XYZxyz(36.0194, 41.2911, 20.8213)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB06E #6F6EB0
analogous
#B0906E #AFB06E #8EB06E
triadic
#AFB06E #6EAFB0 #B06EAF
tetradic
#AFB06E #6EB090 #6F6EB0 #B06E8E
square
#AFB06E #6EB090 #6F6EB0 #B06E8E
split-complementary
#AFB06E #6E8EB0 #906EB0
monochromatic
#696A3A #91924F #AFB06E #C5C696 #DBDBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB06E#FFFFFF#000000##000000
##AFB06E1.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)
#BAAB69
Deuteranopia (green-blind)
#BBAD71
Tritanopia (blue-blind)
#B8A8A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb06e;
/* rgb */ color: rgb(175, 176, 110);
/* oklch */ color: oklch(74.1% 0.087 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c798',
    500: '#afb06e',
    950: '#000000',
  },
}
SCSS
$custom: #afb06e;
$custom-light: #c8c798;
$custom-dark: #000000;
JSON
{
  "hex": "#afb06e",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 110
  },
  "hsl": {
    "h": 60.909,
    "s": 29.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.08734,
    "h": 109.1
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#AFB06E
secondary
#B0AFCB
accent
#62C664
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB06E

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

Preview Lab → · Contrast checker → · Palette generator →

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