#AFB07D#AFB07D

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

Color values

HEX#AFB07D
RGBrgb(175, 176, 125)
HSLhsl(61, 24%, 59%)
HSVhsv(61, 29%, 69%)
CMYKcmyk(0.6%, 0%, 29%, 31%)
CIE-LABlab(70.63, -8.61, 26.09)
CIE-LCHlch(70.63, 27.47, 108.27°)
OKLaboklab(74.37% -0.0224 0.0653)
OKLCHoklch(74.37% 0.069 108.9)
XYZxyz(36.9063, 41.6458, 25.4923)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB07D #7E7DB0
analogous
#B0987D #AFB07D #96B07D
triadic
#AFB07D #7DAFB0 #B07DAF
tetradic
#AFB07D #7DB098 #7E7DB0 #B07D96
square
#AFB07D #7DB098 #7E7DB0 #B07D96
split-complementary
#AFB07D #7D96B0 #987DB0
monochromatic
#6E6F44 #94955B #AFB07D #C6C7A3 #DEDEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB07D#FFFFFF#000000##000000
##AFB07D1.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)
#B8AC7A
Deuteranopia (green-blind)
#B9AE7F
Tritanopia (blue-blind)
#B6AAA3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb07d;
/* rgb */ color: rgb(175, 176, 125);
/* oklch */ color: oklch(74.4% 0.069 108.9);
Tailwind
colors: {
  custom: {
    50: '#c7c7a3',
    500: '#afb07d',
    950: '#000000',
  },
}
SCSS
$custom: #afb07d;
$custom-light: #c7c7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb07d",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 125
  },
  "hsl": {
    "h": 61.176,
    "s": 24.402,
    "l": 59.02
  },
  "oklch": {
    "l": 0.74373,
    "c": 0.069,
    "h": 108.9
  },
  "luminance": 0.41645
}

Semantic roles & 50–950 ramp

primary
#AFB07D
secondary
#BBBACE
accent
#67C169
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB07D

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

Preview Lab → · Contrast checker → · Palette generator →

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