#AFBD2F#AFBD2F

#AFBD2F is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.158 H 115.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#AFBD2F
RGBrgb(175, 189, 47)
HSLhsl(66, 60%, 46%)
HSVhsv(66, 75%, 74%)
CMYKcmyk(7.4%, 0%, 75.1%, 25.9%)
CIE-LABlab(73.36, -22.11, 65.07)
CIE-LCHlch(73.36, 68.72, 108.76°)
OKLaboklab(76.28% -0.0674 0.1431)
OKLCHoklch(76.28% 0.158 115.2)
XYZxyz(36.3909, 45.7150, 9.5956)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD2F #3D2FBD
analogous
#BD842F #AFBD2F #68BD2F
triadic
#AFBD2F #2FAFBD #BD2FAF
tetradic
#AFBD2F #2FBD84 #3D2FBD #BD2F68
square
#AFBD2F #2FBD84 #3D2FBD #BD2F68
split-complementary
#AFBD2F #2F68BD #842FBD
monochromatic
#545B17 #828C23 #AFBD2F #C8D555 #D8E186

Accessibility & contrast

On white

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

On black

10.14
#AFBD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD2F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD2F#FFFFFF#000000##000000
##AFBD2F1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30C
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd2f;
/* rgb */ color: rgb(175, 189, 47);
/* oklch */ color: oklch(76.3% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#cad073',
    500: '#afbd2f',
    950: '#000000',
  },
}
SCSS
$custom: #afbd2f;
$custom-light: #cad073;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd2f",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 65.915,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.15823,
    "h": 115.2
  },
  "luminance": 0.45714
}

Semantic roles & 50–950 ramp

primary
#AFBD2F
secondary
#857ECA
accent
#44E354
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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