#BDA823#BDA823

#BDA823 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.142 H 99.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BDA823
RGBrgb(189, 168, 35)
HSLhsl(52, 69%, 44%)
HSVhsv(52, 81%, 74%)
CMYKcmyk(0%, 11.1%, 81.5%, 25.9%)
CIE-LABlab(68.71, -5.76, 65.00)
CIE-LCHlch(68.71, 65.25, 95.06°)
OKLaboklab(72.84% -0.0235 0.1402)
OKLCHoklch(72.84% 0.142 99.5)
XYZxyz(35.2941, 38.9472, 7.2483)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA823 #2338BD
analogous
#BD5B23 #BDA823 #85BD23
triadic
#BDA823 #23BDA8 #A823BD
tetradic
#BDA823 #23BD5B #2338BD #BD2385
square
#BDA823 #23BD5B #2338BD #BD2385
split-complementary
#BDA823 #2385BD #5B23BD
monochromatic
#564C10 #897A19 #BDA823 #DCC741 #E5D675

Accessibility & contrast

On white

2.39
#BDA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BDA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA823
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA823#FFFFFF#000000##000000
##BDA8231.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#CC9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda823;
/* rgb */ color: rgb(189, 168, 35);
/* oklch */ color: oklch(72.8% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#d5c16b',
    500: '#bda823',
    950: '#000000',
  },
}
SCSS
$custom: #bda823;
$custom-light: #d5c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda823",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 51.818,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.14215,
    "h": 99.5
  },
  "luminance": 0.38945
}

Semantic roles & 50–950 ramp

primary
#BDA823
secondary
#6F7CCD
accent
#54EC3C
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDA823

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

Preview Lab → · Contrast checker → · Palette generator →

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