#AFBF5E#AFBF5E

#AFBF5E is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.124 H 117.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#AFBF5E
RGBrgb(175, 191, 94)
HSLhsl(70, 43%, 56%)
HSVhsv(70, 51%, 75%)
CMYKcmyk(8.4%, 0%, 50.8%, 25.1%)
CIE-LABlab(74.31, -19.85, 46.60)
CIE-LCHlch(74.31, 50.65, 113.07°)
OKLaboklab(77.16% -0.0565 0.1103)
OKLCHoklch(77.16% 0.124 117.1)
XYZxyz(38.3309, 47.1841, 17.6757)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF5E #6E5EBF
analogous
#BF9E5E #AFBF5E #7EBF5E
triadic
#AFBF5E #5EAFBF #BF5EAF
tetradic
#AFBF5E #5EBF9E #6E5EBF #BF5E7E
square
#AFBF5E #5EBF9E #6E5EBF #BF5E7E
split-complementary
#AFBF5E #5E7EBF #9E5EBF
monochromatic
#69742E #90A040 #AFBF5E #C5D08A #DBE2B6

Accessibility & contrast

On white

2.01
#AFBF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#AFBF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF5E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF5E#FFFFFF#000000##000000
##AFBF5E1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB655
Deuteranopia (green-blind)
#C8B763
Tritanopia (blue-blind)
#B8B6A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf5e;
/* rgb */ color: rgb(175, 191, 94);
/* oklch */ color: oklch(77.2% 0.124 117.1);
Tailwind
colors: {
  custom: {
    50: '#c9d28e',
    500: '#afbf5e',
    950: '#000000',
  },
}
SCSS
$custom: #afbf5e;
$custom-light: #c9d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf5e",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 94
  },
  "hsl": {
    "h": 69.897,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77162,
    "c": 0.12393,
    "h": 117.1
  },
  "luminance": 0.47184
}

Semantic roles & 50–950 ramp

primary
#AFBF5E
secondary
#AFA8D0
accent
#55D36A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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