#AFBB5E#AFBB5E

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

Color values

HEX#AFBB5E
RGBrgb(175, 187, 94)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 50%, 73%)
CMYKcmyk(6.4%, 0%, 49.7%, 26.7%)
CIE-LABlab(73.20, -17.84, 45.28)
CIE-LCHlch(73.20, 48.67, 111.51°)
OKLaboklab(76.27% -0.0509 0.1074)
OKLCHoklch(76.27% 0.119 115.3)
XYZxyz(37.4704, 45.4632, 17.3889)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB5E #6A5EBB
analogous
#BB985E #AFBB5E #80BB5E
triadic
#AFBB5E #5EAFBB #BB5EAF
tetradic
#AFBB5E #5EBB98 #6A5EBB #BB5E80
square
#AFBB5E #5EBB98 #6A5EBB #BB5E80
split-complementary
#AFBB5E #5E80BB #985EBB
monochromatic
#67702F #8F9B41 #AFBB5E #C4CD89 #DADFB4

Accessibility & contrast

On white

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

On black

10.09
#AFBB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB5E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB5E#FFFFFF#000000##000000
##AFBB5E1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb5e;
/* rgb */ color: rgb(175, 187, 94);
/* oklch */ color: oklch(76.3% 0.119 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9cf8e',
    500: '#afbb5e',
    950: '#000000',
  },
}
SCSS
$custom: #afbb5e;
$custom-light: #c9cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb5e",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 94
  },
  "hsl": {
    "h": 67.742,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76273,
    "c": 0.11883,
    "h": 115.3
  },
  "luminance": 0.45463
}

Semantic roles & 50–950 ramp

primary
#AFBB5E
secondary
#ACA7CE
accent
#57D067
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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