#BDA642#BDA642

#BDA642 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.121 H 96.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BDA642
RGBrgb(189, 166, 66)
HSLhsl(49, 48%, 50%)
HSVhsv(49, 65%, 74%)
CMYKcmyk(0%, 12.2%, 65.1%, 25.9%)
CIE-LABlab(68.38, -3.25, 53.17)
CIE-LCHlch(68.38, 53.27, 93.50°)
OKLaboklab(72.63% -0.0132 0.1208)
OKLCHoklch(72.63% 0.121 96.2)
XYZxyz(35.6075, 38.4864, 10.7063)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA642 #4259BD
analogous
#BD6842 #BDA642 #97BD42
triadic
#BDA642 #42BDA6 #A642BD
tetradic
#BDA642 #42BD68 #4259BD #BD4297
square
#BDA642 #42BD68 #4259BD #BD4297
split-complementary
#BDA642 #4297BD #6842BD
monochromatic
#625622 #907E32 #BDA642 #CDBB6F #DDD19D

Accessibility & contrast

On white

2.41
#BDA642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BDA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA642
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA642#FFFFFF#000000##000000
##BDA6421.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A236
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#CB9A91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bda642;
/* rgb */ color: rgb(189, 166, 66);
/* oklch */ color: oklch(72.6% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#d4c07b',
    500: '#bda642',
    950: '#000000',
  },
}
SCSS
$custom: #bda642;
$custom-light: #d4c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda642",
  "rgb": {
    "r": 189,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 48.78,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.72632,
    "c": 0.12149,
    "h": 96.2
  },
  "luminance": 0.38485
}

Semantic roles & 50–950 ramp

primary
#BDA642
secondary
#929CC9
accent
#69D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BDA642

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

Preview Lab → · Contrast checker → · Palette generator →

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