#AFBC5A#AFBC5A

#AFBC5A is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.124 H 115.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#AFBC5A
RGBrgb(175, 188, 90)
HSLhsl(68, 42%, 55%)
HSVhsv(68, 52%, 74%)
CMYKcmyk(6.9%, 0%, 52.1%, 26.3%)
CIE-LABlab(73.43, -18.72, 47.47)
CIE-LCHlch(73.43, 51.03, 111.52°)
OKLaboklab(76.44% -0.0537 0.1118)
OKLCHoklch(76.44% 0.124 115.7)
XYZxyz(37.5085, 45.8191, 16.5389)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC5A #675ABC
analogous
#BC985A #AFBC5A #7EBC5A
triadic
#AFBC5A #5AAFBC #BC5AAF
tetradic
#AFBC5A #5ABC98 #675ABC #BC5A7E
square
#AFBC5A #5ABC98 #675ABC #BC5A7E
split-complementary
#AFBC5A #5A7EBC #985ABC
monochromatic
#666F2D #8E9A3F #AFBC5A #C4CE86 #D9DFB1

Accessibility & contrast

On white

2.07
#AFBC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#AFBC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC5A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC5A#FFFFFF#000000##000000
##AFBC5A1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbc5a;
/* rgb */ color: rgb(175, 188, 90);
/* oklch */ color: oklch(76.4% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#c9d08b',
    500: '#afbc5a',
    950: '#000000',
  },
}
SCSS
$custom: #afbc5a;
$custom-light: #c9d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc5a",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 67.959,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76443,
    "c": 0.12406,
    "h": 115.7
  },
  "luminance": 0.45819
}

Semantic roles & 50–950 ramp

primary
#AFBC5A
secondary
#AAA4CE
accent
#56D266
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFBC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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