#AFBC5F#AFBC5F

#AFBC5F is a light, moderate yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.119 H 115.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#AFBC5F
RGBrgb(175, 188, 95)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 49%, 74%)
CMYKcmyk(6.9%, 0%, 49.5%, 26.3%)
CIE-LABlab(73.49, -18.25, 45.14)
CIE-LCHlch(73.49, 48.69, 112.01°)
OKLaboklab(76.51% -0.0519 0.1072)
OKLCHoklch(76.51% 0.119 115.9)
XYZxyz(37.7285, 45.9071, 17.6977)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC5F #6C5FBC
analogous
#BC9A5F #AFBC5F #80BC5F
triadic
#AFBC5F #5FAFBC #BC5FAF
tetradic
#AFBC5F #5FBC9A #6C5FBC #BC5F80
square
#AFBC5F #5FBC9A #6C5FBC #BC5F80
split-complementary
#AFBC5F #5F80BC #9A5FBC
monochromatic
#68712F #909C41 #AFBC5F #C5CE8A #DAE0B5

Accessibility & contrast

On white

2.06
#AFBC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#AFBC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC5F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC5F#FFFFFF#000000##000000
##AFBC5F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#C6B564
Tritanopia (blue-blind)
#B8B3A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc5f;
/* rgb */ color: rgb(175, 188, 95);
/* oklch */ color: oklch(76.5% 0.119 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8d08f',
    500: '#afbc5f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc5f;
$custom-light: #c8d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc5f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 68.387,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76508,
    "c": 0.11909,
    "h": 115.9
  },
  "luminance": 0.45907
}

Semantic roles & 50–950 ramp

primary
#AFBC5F
secondary
#ADA8CF
accent
#57D168
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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