#AFBC5C#AFBC5C

#AFBC5C is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.122 H 115.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#AFBC5C
RGBrgb(175, 188, 92)
HSLhsl(68, 42%, 55%)
HSVhsv(68, 51%, 74%)
CMYKcmyk(6.9%, 0%, 51.1%, 26.3%)
CIE-LABlab(73.45, -18.53, 46.54)
CIE-LCHlch(73.45, 50.10, 111.71°)
OKLaboklab(76.47% -0.053 0.11)
OKLCHoklch(76.47% 0.122 115.7)
XYZxyz(37.5947, 45.8536, 16.9933)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC5C #695CBC
analogous
#BC995C #AFBC5C #7FBC5C
triadic
#AFBC5C #5CAFBC #BC5CAF
tetradic
#AFBC5C #5CBC99 #695CBC #BC5C7F
square
#AFBC5C #5CBC99 #695CBC #BC5C7F
split-complementary
#AFBC5C #5C7FBC #995CBC
monochromatic
#67702E #8F9B40 #AFBC5C #C4CE87 #DAE0B3

Accessibility & contrast

On white

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

On black

10.17
#AFBC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC5C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC5C#FFFFFF#000000##000000
##AFBC5C1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B453
Deuteranopia (green-blind)
#C6B561
Tritanopia (blue-blind)
#B8B3A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc5c;
/* rgb */ color: rgb(175, 188, 92);
/* oklch */ color: oklch(76.5% 0.122 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d08d',
    500: '#afbc5c',
    950: '#000000',
  },
}
SCSS
$custom: #afbc5c;
$custom-light: #c9d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc5c",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 92
  },
  "hsl": {
    "h": 68.125,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.12209,
    "h": 115.7
  },
  "luminance": 0.45853
}

Semantic roles & 50–950 ramp

primary
#AFBC5C
secondary
#ABA6CE
accent
#56D267
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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