#AFBD5A#AFBD5A

#AFBD5A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.125 H 116.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBD5A
RGBrgb(175, 189, 90)
HSLhsl(68, 43%, 55%)
HSVhsv(68, 52%, 74%)
CMYKcmyk(7.4%, 0%, 52.4%, 25.9%)
CIE-LABlab(73.71, -19.22, 47.80)
CIE-LCHlch(73.71, 51.52, 111.90°)
OKLaboklab(76.67% -0.0551 0.1125)
OKLCHoklch(76.67% 0.125 116.1)
XYZxyz(37.7228, 46.2478, 16.6104)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD5A #685ABD
analogous
#BD9A5A #AFBD5A #7EBD5A
triadic
#AFBD5A #5AAFBD #BD5AAF
tetradic
#AFBD5A #5ABD9A #685ABD #BD5A7E
square
#AFBD5A #5ABD9A #685ABD #BD5A7E
split-complementary
#AFBD5A #5A7EBD #9A5ABD
monochromatic
#66702D #8E9C3E #AFBD5A #C4CE86 #D9E0B1

Accessibility & contrast

On white

2.05
#AFBD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD5A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD5A#FFFFFF#000000##000000
##AFBD5A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B551
Deuteranopia (green-blind)
#C7B660
Tritanopia (blue-blind)
#B8B4A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd5a;
/* rgb */ color: rgb(175, 189, 90);
/* oklch */ color: oklch(76.7% 0.125 116.1);
Tailwind
colors: {
  custom: {
    50: '#c9d08b',
    500: '#afbd5a',
    950: '#000000',
  },
}
SCSS
$custom: #afbd5a;
$custom-light: #c9d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd5a",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 90
  },
  "hsl": {
    "h": 68.485,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76666,
    "c": 0.12532,
    "h": 116.1
  },
  "luminance": 0.46247
}

Semantic roles & 50–950 ramp

primary
#AFBD5A
secondary
#AAA5CE
accent
#55D367
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFBD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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