#AFB95E#AFB95E

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

Color values

HEX#AFB95E
RGBrgb(175, 185, 94)
HSLhsl(67, 39%, 55%)
HSVhsv(67, 49%, 73%)
CMYKcmyk(5.4%, 0%, 49.2%, 27.5%)
CIE-LABlab(72.64, -16.83, 44.61)
CIE-LCHlch(72.64, 47.68, 110.67°)
OKLaboklab(75.83% -0.048 0.1059)
OKLCHoklch(75.83% 0.116 114.4)
XYZxyz(37.0491, 44.6206, 17.2484)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB95E #685EB9
analogous
#B9955E #AFB95E #82B95E
triadic
#AFB95E #5EAFB9 #B95EAF
tetradic
#AFB95E #5EB995 #685EB9 #B95E82
square
#AFB95E #5EB995 #685EB9 #B95E82
split-complementary
#AFB95E #5E82B9 #955EB9
monochromatic
#666D2F #8E9842 #AFB95E #C4CC89 #D9DEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB95E#FFFFFF#000000##000000
##AFB95E1.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)
#C4B156
Deuteranopia (green-blind)
#C4B363
Tritanopia (blue-blind)
#B8B0A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb95e;
/* rgb */ color: rgb(175, 185, 94);
/* oklch */ color: oklch(75.8% 0.116 114.4);
Tailwind
colors: {
  custom: {
    50: '#c8ce8e',
    500: '#afb95e',
    950: '#000000',
  },
}
SCSS
$custom: #afb95e;
$custom-light: #c8ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afb95e",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 94
  },
  "hsl": {
    "h": 66.593,
    "s": 39.394,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75829,
    "c": 0.11631,
    "h": 114.4
  },
  "luminance": 0.4462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFB95E

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

Preview Lab → · Contrast checker → · Palette generator →

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