#AFBC5D#AFBC5D

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

Color values

HEX#AFBC5D
RGBrgb(175, 188, 93)
HSLhsl(68, 41%, 55%)
HSVhsv(68, 51%, 74%)
CMYKcmyk(6.9%, 0%, 50.5%, 26.3%)
CIE-LABlab(73.46, -18.44, 46.08)
CIE-LCHlch(73.46, 49.63, 111.81°)
OKLaboklab(76.48% -0.0527 0.1091)
OKLCHoklch(76.48% 0.121 115.8)
XYZxyz(37.6387, 45.8712, 17.2250)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC5D #6A5DBC
analogous
#BC9A5D #AFBC5D #7FBC5D
triadic
#AFBC5D #5DAFBC #BC5DAF
tetradic
#AFBC5D #5DBC9A #6A5DBC #BC5D7F
square
#AFBC5D #5DBC9A #6A5DBC #BC5D7F
split-complementary
#AFBC5D #5D7FBC #9A5DBC
monochromatic
#67702E #8F9B40 #AFBC5D #C4CE88 #DAE0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBC5D#FFFFFF#000000##000000
##AFBC5D1.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)
#C7B454
Deuteranopia (green-blind)
#C6B562
Tritanopia (blue-blind)
#B8B3A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbc5d;
/* rgb */ color: rgb(175, 188, 93);
/* oklch */ color: oklch(76.5% 0.121 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d08d',
    500: '#afbc5d',
    950: '#000000',
  },
}
SCSS
$custom: #afbc5d;
$custom-light: #c9d08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc5d",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 93
  },
  "hsl": {
    "h": 68.211,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76481,
    "c": 0.1211,
    "h": 115.8
  },
  "luminance": 0.45871
}

Semantic roles & 50–950 ramp

primary
#AFBC5D
secondary
#ACA6CE
accent
#56D167
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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