#AFBD3D#AFBD3D

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

Color values

HEX#AFBD3D
RGBrgb(175, 189, 61)
HSLhsl(67, 51%, 49%)
HSVhsv(67, 68%, 74%)
CMYKcmyk(7.4%, 0%, 67.7%, 25.9%)
CIE-LABlab(73.45, -21.38, 60.15)
CIE-LCHlch(73.45, 63.84, 109.57°)
OKLaboklab(76.37% -0.0642 0.1351)
OKLCHoklch(76.37% 0.15 115.4)
XYZxyz(36.7200, 45.8466, 11.3289)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD3D #4B3DBD
analogous
#BD8B3D #AFBD3D #6FBD3D
triadic
#AFBD3D #3DAFBD #BD3DAF
tetradic
#AFBD3D #3DBD8B #4B3DBD #BD3D6F
square
#AFBD3D #3DBD8B #4B3DBD #BD3D6F
split-complementary
#AFBD3D #3D6FBD #8B3DBD
monochromatic
#59601F #848F2E #AFBD3D #C3CE69 #D6DD97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD3D#FFFFFF#000000##000000
##AFBD3D1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42A
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#BAB2A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd3d;
/* rgb */ color: rgb(175, 189, 61);
/* oklch */ color: oklch(76.4% 0.150 115.4);
Tailwind
colors: {
  custom: {
    50: '#cad07a',
    500: '#afbd3d',
    950: '#000000',
  },
}
SCSS
$custom: #afbd3d;
$custom-light: #cad07a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd3d",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 61
  },
  "hsl": {
    "h": 66.563,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76374,
    "c": 0.14958,
    "h": 115.4
  },
  "luminance": 0.45846
}

Semantic roles & 50–950 ramp

primary
#AFBD3D
secondary
#938DC9
accent
#4DDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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