#AFBD2B#AFBD2B

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

Color values

HEX#AFBD2B
RGBrgb(175, 189, 43)
HSLhsl(66, 63%, 45%)
HSVhsv(66, 77%, 74%)
CMYKcmyk(7.4%, 0%, 77.2%, 25.9%)
CIE-LABlab(73.34, -22.27, 66.30)
CIE-LCHlch(73.34, 69.95, 108.57°)
OKLaboklab(76.26% -0.0682 0.1451)
OKLCHoklch(76.26% 0.16 115.2)
XYZxyz(36.3139, 45.6842, 9.1900)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD2B #392BBD
analogous
#BD822B #AFBD2B #66BD2B
triadic
#AFBD2B #2BAFBD #BD2BAF
tetradic
#AFBD2B #2BBD82 #392BBD #BD2B66
square
#AFBD2B #2BBD82 #392BBD #BD2B66
split-complementary
#AFBD2B #2B66BD #822BBD
monochromatic
#535914 #818B20 #AFBD2B #CAD74E #D9E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD2B#FFFFFF#000000##000000
##AFBD2B1.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)
#CBB300
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd2b;
/* rgb */ color: rgb(175, 189, 43);
/* oklch */ color: oklch(76.3% 0.160 115.2);
Tailwind
colors: {
  custom: {
    50: '#cbd071',
    500: '#afbd2b',
    950: '#000000',
  },
}
SCSS
$custom: #afbd2b;
$custom-light: #cbd071;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd2b",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 43
  },
  "hsl": {
    "h": 65.753,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76255,
    "c": 0.16032,
    "h": 115.2
  },
  "luminance": 0.45684
}

Semantic roles & 50–950 ramp

primary
#AFBD2B
secondary
#8179CB
accent
#42E652
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AFBD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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