#AFBB5F#AFBB5F

#AFBB5F is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.118 H 115.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#AFBB5F
RGBrgb(175, 187, 95)
HSLhsl(68, 40%, 55%)
HSVhsv(68, 49%, 73%)
CMYKcmyk(6.4%, 0%, 49.2%, 26.7%)
CIE-LABlab(73.21, -17.75, 44.80)
CIE-LCHlch(73.21, 48.19, 111.61°)
OKLaboklab(76.29% -0.0505 0.1064)
OKLCHoklch(76.29% 0.118 115.4)
XYZxyz(37.5156, 45.4813, 17.6267)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5F #6B5FBB
analogous
#BB995F #AFBB5F #81BB5F
triadic
#AFBB5F #5FAFBB #BB5FAF
tetradic
#AFBB5F #5FBB99 #6B5FBB #BB5F81
square
#AFBB5F #5FBB99 #6B5FBB #BB5F81
split-complementary
#AFBB5F #5F81BB #995FBB
monochromatic
#687030 #8F9B42 #AFBB5F #C4CD8A #DAE0B5

Accessibility & contrast

On white

2.08
#AFBB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#AFBB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB5F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB5F#FFFFFF#000000##000000
##AFBB5F1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B357
Deuteranopia (green-blind)
#C5B564
Tritanopia (blue-blind)
#B8B2A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbb5f;
/* rgb */ color: rgb(175, 187, 95);
/* oklch */ color: oklch(76.3% 0.118 115.4);
Tailwind
colors: {
  custom: {
    50: '#c8cf8f',
    500: '#afbb5f',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5f;
$custom-light: #c8cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5f",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 67.826,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76286,
    "c": 0.11781,
    "h": 115.4
  },
  "luminance": 0.45481
}

Semantic roles & 50–950 ramp

primary
#AFBB5F
secondary
#ADA8CE
accent
#58D067
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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