#AFB95D#AFB95D

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

Color values

HEX#AFB95D
RGBrgb(175, 185, 93)
HSLhsl(67, 40%, 55%)
HSVhsv(67, 50%, 73%)
CMYKcmyk(5.4%, 0%, 49.7%, 27.5%)
CIE-LABlab(72.63, -16.93, 45.09)
CIE-LCHlch(72.63, 48.16, 110.58°)
OKLaboklab(75.82% -0.0484 0.1069)
OKLCHoklch(75.82% 0.117 114.3)
XYZxyz(37.0045, 44.6027, 17.0136)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB95D #675DB9
analogous
#B9955D #AFB95D #81B95D
triadic
#AFB95D #5DAFB9 #B95DAF
tetradic
#AFB95D #5DB995 #675DB9 #B95D81
square
#AFB95D #5DB995 #675DB9 #B95D81
split-complementary
#AFB95D #5D81B9 #955DB9
monochromatic
#666D2F #8E9741 #AFB95D #C4CB88 #D9DEB2

Accessibility & contrast

On white

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

On black

9.92
#AFB95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB95D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB95D#FFFFFF#000000##000000
##AFB95D1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb95d;
/* rgb */ color: rgb(175, 185, 93);
/* oklch */ color: oklch(75.8% 0.117 114.3);
Tailwind
colors: {
  custom: {
    50: '#c9ce8d',
    500: '#afb95d',
    950: '#000000',
  },
}
SCSS
$custom: #afb95d;
$custom-light: #c9ce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb95d",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 66.522,
    "s": 39.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.11732,
    "h": 114.3
  },
  "luminance": 0.44602
}

Semantic roles & 50–950 ramp

primary
#AFB95D
secondary
#AAA5CC
accent
#58D065
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB95D

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

Preview Lab → · Contrast checker → · Palette generator →

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