#AFB95F#AFB95F

#AFB95F is a light, moderate yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.115 H 114.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#AFB95F
RGBrgb(175, 185, 95)
HSLhsl(67, 39%, 55%)
HSVhsv(67, 49%, 73%)
CMYKcmyk(5.4%, 0%, 48.6%, 27.5%)
CIE-LABlab(72.65, -16.73, 44.14)
CIE-LCHlch(72.65, 47.20, 110.76°)
OKLaboklab(75.84% -0.0476 0.105)
OKLCHoklch(75.84% 0.115 114.4)
XYZxyz(37.0943, 44.6386, 17.4863)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB95F #695FB9
analogous
#B9965F #AFB95F #82B95F
triadic
#AFB95F #5FAFB9 #B95FAF
tetradic
#AFB95F #5FB996 #695FB9 #B95F82
square
#AFB95F #5FB996 #695FB9 #B95F82
split-complementary
#AFB95F #5F82B9 #965FB9
monochromatic
#676E30 #8F9843 #AFB95F #C4CC8A #DADEB4

Accessibility & contrast

On white

2.12
#AFB95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#AFB95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB95F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB95F#FFFFFF#000000##000000
##AFB95F1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B157
Deuteranopia (green-blind)
#C4B364
Tritanopia (blue-blind)
#B8B0A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb95f;
/* rgb */ color: rgb(175, 185, 95);
/* oklch */ color: oklch(75.8% 0.115 114.4);
Tailwind
colors: {
  custom: {
    50: '#c8ce8e',
    500: '#afb95f',
    950: '#000000',
  },
}
SCSS
$custom: #afb95f;
$custom-light: #c8ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb95f",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 66.667,
    "s": 39.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.11528,
    "h": 114.4
  },
  "luminance": 0.44638
}

Semantic roles & 50–950 ramp

primary
#AFB95F
secondary
#ABA7CD
accent
#59CF66
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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