#BDA842#BDA842

#BDA842 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.123 H 97.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BDA842
RGBrgb(189, 168, 66)
HSLhsl(50, 48%, 50%)
HSVhsv(50, 65%, 74%)
CMYKcmyk(0%, 11.1%, 65.1%, 25.9%)
CIE-LABlab(68.91, -4.31, 53.73)
CIE-LCHlch(68.91, 53.91, 94.59°)
OKLaboklab(73.05% -0.0162 0.122)
OKLCHoklch(73.05% 0.123 97.6)
XYZxyz(35.9739, 39.2191, 10.8284)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA842 #4257BD
analogous
#BD6A42 #BDA842 #95BD42
triadic
#BDA842 #42BDA8 #A842BD
tetradic
#BDA842 #42BD6A #4257BD #BD4295
square
#BDA842 #42BD6A #4257BD #BD4295
split-complementary
#BDA842 #4295BD #6A42BD
monochromatic
#625722 #908032 #BDA842 #CDBD6F #DDD29D

Accessibility & contrast

On white

2.37
#BDA842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BDA842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA842
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA842#FFFFFF#000000##000000
##BDA8421.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#CB9C93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda842;
/* rgb */ color: rgb(189, 168, 66);
/* oklch */ color: oklch(73.1% 0.123 97.6);
Tailwind
colors: {
  custom: {
    50: '#d4c17b',
    500: '#bda842',
    950: '#000000',
  },
}
SCSS
$custom: #bda842;
$custom-light: #d4c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda842",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 49.756,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.12306,
    "h": 97.6
  },
  "luminance": 0.39217
}

Semantic roles & 50–950 ramp

primary
#BDA842
secondary
#929BC9
accent
#67D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDA842

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

Preview Lab → · Contrast checker → · Palette generator →

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