#AFB385#AFB385

#AFB385 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.063 H 111.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB385
RGBrgb(175, 179, 133)
HSLhsl(65, 23%, 61%)
HSVhsv(65, 26%, 70%)
CMYKcmyk(2.2%, 0%, 25.7%, 29.8%)
CIE-LABlab(71.59, -9.08, 23.09)
CIE-LCHlch(71.59, 24.81, 111.48°)
OKLaboklab(75.18% -0.0235 0.0583)
OKLCHoklch(75.18% 0.063 111.9)
XYZxyz(38.0328, 43.0480, 28.4913)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB385 #8985B3
analogous
#B3A085 #AFB385 #98B385
triadic
#AFB385 #85AFB3 #B385AF
tetradic
#AFB385 #85B3A0 #8985B3 #B38598
square
#AFB385 #85B3A0 #8985B3 #B38598
split-complementary
#AFB385 #8598B3 #A085B3
monochromatic
#717549 #959B60 #AFB385 #C8CAAB #E0E2D0

Accessibility & contrast

On white

2.19
#AFB385 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#AFB385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB385
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB385#FFFFFF#000000##000000
##AFB3851.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAF82
Deuteranopia (green-blind)
#BAB087
Tritanopia (blue-blind)
#B5AEA7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb385;
/* rgb */ color: rgb(175, 179, 133);
/* oklch */ color: oklch(75.2% 0.063 111.9);
Tailwind
colors: {
  custom: {
    50: '#c7c9a8',
    500: '#afb385',
    950: '#000000',
  },
}
SCSS
$custom: #afb385;
$custom-light: #c7c9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afb385",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 133
  },
  "hsl": {
    "h": 65.217,
    "s": 23.232,
    "l": 61.176
  },
  "oklch": {
    "l": 0.75184,
    "c": 0.06282,
    "h": 111.9
  },
  "luminance": 0.43048
}

Semantic roles & 50–950 ramp

primary
#AFB385
secondary
#C3C1D3
accent
#44A24C
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB385

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

Preview Lab → · Contrast checker → · Palette generator →

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