#BDA22E#BDA22E

#BDA22E is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.132 H 95.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BDA22E
RGBrgb(189, 162, 46)
HSLhsl(49, 61%, 46%)
HSVhsv(49, 76%, 74%)
CMYKcmyk(0%, 14.3%, 75.7%, 25.9%)
CIE-LABlab(67.17, -2.17, 60.03)
CIE-LCHlch(67.17, 60.07, 92.07°)
OKLaboklab(71.63% -0.0124 0.1317)
OKLCHoklch(71.63% 0.132 95.4)
XYZxyz(34.4016, 36.8586, 7.8867)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA22E #2E49BD
analogous
#BD5A2E #BDA22E #90BD2E
triadic
#BDA22E #2EBDA2 #A22EBD
tetradic
#BDA22E #2EBD5A #2E49BD #BD2E90
square
#BDA22E #2EBD5A #2E49BD #BD2E90
split-complementary
#BDA22E #2E90BD #5A2EBD
monochromatic
#5B4E16 #8C7822 #BDA22E #D5BD53 #E1D084

Accessibility & contrast

On white

2.51
#BDA22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BDA22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA22E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA22E#FFFFFF#000000##000000
##BDA22E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#CC958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda22e;
/* rgb */ color: rgb(189, 162, 46);
/* oklch */ color: oklch(71.6% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#d5bd6f',
    500: '#bda22e',
    950: '#000000',
  },
}
SCSS
$custom: #bda22e;
$custom-light: #d5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bda22e",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 48.671,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71631,
    "c": 0.1323,
    "h": 95.4
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#BDA22E
secondary
#7C8BCA
accent
#62E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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