#BDB242#BDB242

#BDB242 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.132 H 103.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BDB242
RGBrgb(189, 178, 66)
HSLhsl(55, 48%, 50%)
HSVhsv(55, 65%, 74%)
CMYKcmyk(0%, 5.8%, 65.1%, 25.9%)
CIE-LABlab(71.59, -9.56, 56.57)
CIE-LCHlch(71.59, 57.37, 99.59°)
OKLaboklab(75.18% -0.0312 0.128)
OKLCHoklch(75.18% 0.132 103.7)
XYZxyz(37.8915, 43.0544, 11.4676)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB242 #424DBD
analogous
#BD7442 #BDB242 #8BBD42
triadic
#BDB242 #42BDB2 #B242BD
tetradic
#BDB242 #42BD74 #424DBD #BD428B
square
#BDB242 #42BD74 #424DBD #BD428B
split-complementary
#BDB242 #428BBD #7442BD
monochromatic
#625D22 #908732 #BDB242 #CDC46F #DDD79D

Accessibility & contrast

On white

2.19
#BDB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BDB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB242
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB242#FFFFFF#000000##000000
##BDB2421.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#CBA69B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb242;
/* rgb */ color: rgb(189, 178, 66);
/* oklch */ color: oklch(75.2% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#d4c87c',
    500: '#bdb242',
    950: '#000000',
  },
}
SCSS
$custom: #bdb242;
$custom-light: #d4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb242",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 54.634,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.13173,
    "h": 103.7
  },
  "luminance": 0.43053
}

Semantic roles & 50–950 ramp

primary
#BDB242
secondary
#9297C9
accent
#5CD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB242

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

Preview Lab → · Contrast checker → · Palette generator →

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