#AFBD3E#AFBD3E

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

Color values

HEX#AFBD3E
RGBrgb(175, 189, 62)
HSLhsl(67, 51%, 49%)
HSVhsv(67, 67%, 74%)
CMYKcmyk(7.4%, 0%, 67.2%, 25.9%)
CIE-LABlab(73.45, -21.32, 59.77)
CIE-LCHlch(73.45, 63.46, 109.64°)
OKLaboklab(76.38% -0.0639 0.1345)
OKLCHoklch(76.38% 0.149 115.4)
XYZxyz(36.7472, 45.8575, 11.4721)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD3E #4C3EBD
analogous
#BD8C3E #AFBD3E #70BD3E
triadic
#AFBD3E #3EAFBD #BD3EAF
tetradic
#AFBD3E #3EBD8C #4C3EBD #BD3E70
square
#AFBD3E #3EBD8C #4C3EBD #BD3E70
split-complementary
#AFBD3E #3E70BD #8C3EBD
monochromatic
#5A6120 #848F2F #AFBD3E #C3CE6A #D6DD98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD3E#FFFFFF#000000##000000
##AFBD3E1.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)
#CAB42B
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd3e;
/* rgb */ color: rgb(175, 189, 62);
/* oklch */ color: oklch(76.4% 0.149 115.4);
Tailwind
colors: {
  custom: {
    50: '#cad07a',
    500: '#afbd3e',
    950: '#000000',
  },
}
SCSS
$custom: #afbd3e;
$custom-light: #cad07a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd3e",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 62
  },
  "hsl": {
    "h": 66.614,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76382,
    "c": 0.14889,
    "h": 115.4
  },
  "luminance": 0.45857
}

Semantic roles & 50–950 ramp

primary
#AFBD3E
secondary
#948EC9
accent
#4EDA5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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