#AFBD3F#AFBD3F

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

Color values

HEX#AFBD3F
RGBrgb(175, 189, 63)
HSLhsl(67, 50%, 49%)
HSVhsv(67, 67%, 74%)
CMYKcmyk(7.4%, 0%, 66.7%, 25.9%)
CIE-LABlab(73.46, -21.26, 59.38)
CIE-LCHlch(73.46, 63.07, 109.70°)
OKLaboklab(76.39% -0.0636 0.1338)
OKLCHoklch(76.39% 0.148 115.4)
XYZxyz(36.7749, 45.8686, 11.6179)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD3F #4D3FBD
analogous
#BD8C3F #AFBD3F #70BD3F
triadic
#AFBD3F #3FAFBD #BD3FAF
tetradic
#AFBD3F #3FBD8C #4D3FBD #BD3F70
square
#AFBD3F #3FBD8C #4D3FBD #BD3F70
split-complementary
#AFBD3F #3F70BD #8C3FBD
monochromatic
#5A6120 #858F30 #AFBD3F #C3CE6B #D6DD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD3F#FFFFFF#000000##000000
##AFBD3F1.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)
#CAB42D
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#BAB2A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd3f;
/* rgb */ color: rgb(175, 189, 63);
/* oklch */ color: oklch(76.4% 0.148 115.4);
Tailwind
colors: {
  custom: {
    50: '#cad07b',
    500: '#afbd3f',
    950: '#000000',
  },
}
SCSS
$custom: #afbd3f;
$custom-light: #cad07b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd3f",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 66.667,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7639,
    "c": 0.14818,
    "h": 115.4
  },
  "luminance": 0.45868
}

Semantic roles & 50–950 ramp

primary
#AFBD3F
secondary
#958FC9
accent
#4EDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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