#AFB07E#AFB07E

#AFB07E is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.068 H 108.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#AFB07E
RGBrgb(175, 176, 126)
HSLhsl(61, 24%, 59%)
HSVhsv(61, 28%, 69%)
CMYKcmyk(0.6%, 0%, 28.4%, 31%)
CIE-LABlab(70.64, -8.48, 25.58)
CIE-LCHlch(70.64, 26.95, 108.34°)
OKLaboklab(74.39% -0.0219 0.0641)
OKLCHoklch(74.39% 0.068 108.9)
XYZxyz(36.9705, 41.6715, 25.8304)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB07E #7F7EB0
analogous
#B0987E #AFB07E #96B07E
triadic
#AFB07E #7EAFB0 #B07EAF
tetradic
#AFB07E #7EB098 #7F7EB0 #B07E96
square
#AFB07E #7EB098 #7F7EB0 #B07E96
split-complementary
#AFB07E #7E96B0 #987EB0
monochromatic
#6F6F44 #94955B #AFB07E #C7C7A4 #DEDECA

Accessibility & contrast

On white

2.25
#AFB07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#AFB07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB07E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB07E#FFFFFF#000000##000000
##AFB07E1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AC7B
Deuteranopia (green-blind)
#B9AE80
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb07e;
/* rgb */ color: rgb(175, 176, 126);
/* oklch */ color: oklch(74.4% 0.068 108.9);
Tailwind
colors: {
  custom: {
    50: '#c7c7a3',
    500: '#afb07e',
    950: '#000000',
  },
}
SCSS
$custom: #afb07e;
$custom-light: #c7c7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb07e",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 126
  },
  "hsl": {
    "h": 61.2,
    "s": 24.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.06774,
    "h": 108.9
  },
  "luminance": 0.41671
}

Semantic roles & 50–950 ramp

primary
#AFB07E
secondary
#BCBBCF
accent
#67C069
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB07E

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

Preview Lab → · Contrast checker → · Palette generator →

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