#AFB167#AFB167

#AFB167 is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.097 H 109.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFB167
RGBrgb(175, 177, 103)
HSLhsl(62, 32%, 55%)
HSVhsv(62, 42%, 69%)
CMYKcmyk(1.1%, 0%, 41.8%, 30.6%)
CIE-LABlab(70.55, -11.81, 37.55)
CIE-LCHlch(70.55, 39.36, 107.46°)
OKLaboklab(74.2% -0.0329 0.0909)
OKLCHoklch(74.2% 0.097 109.9)
XYZxyz(35.8500, 41.5382, 18.9585)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB167 #6967B1
analogous
#B18E67 #AFB167 #8AB167
triadic
#AFB167 #67AFB1 #B167AF
tetradic
#AFB167 #67B18E #6967B1 #B1678A
square
#AFB167 #67B18E #6967B1 #B1678A
split-complementary
#AFB167 #678AB1 #8E67B1
monochromatic
#676835 #8F914A #AFB167 #C4C68F #DADBB8

Accessibility & contrast

On white

2.26
#AFB167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFB167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB167
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB167#FFFFFF#000000##000000
##AFB1671.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB61
Deuteranopia (green-blind)
#BCAE6A
Tritanopia (blue-blind)
#B8A99F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb167;
/* rgb */ color: rgb(175, 177, 103);
/* oklch */ color: oklch(74.2% 0.097 109.9);
Tailwind
colors: {
  custom: {
    50: '#c8c893',
    500: '#afb167',
    950: '#000000',
  },
}
SCSS
$custom: #afb167;
$custom-light: #c8c893;
$custom-dark: #000000;
JSON
{
  "hex": "#afb167",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 103
  },
  "hsl": {
    "h": 61.622,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.742,
    "c": 0.09665,
    "h": 109.9
  },
  "luminance": 0.41538
}

Semantic roles & 50–950 ramp

primary
#AFB167
secondary
#ABAAC9
accent
#5FC862
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB167

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

Preview Lab → · Contrast checker → · Palette generator →

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