#BDB152#BDB152

#BDB152 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.117 H 102.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#BDB152
RGBrgb(189, 177, 82)
HSLhsl(53, 45%, 53%)
HSVhsv(53, 57%, 74%)
CMYKcmyk(0%, 6.3%, 56.6%, 25.9%)
CIE-LABlab(71.47, -7.93, 49.28)
CIE-LCHlch(71.47, 49.92, 99.14°)
OKLaboklab(75.13% -0.0247 0.1147)
OKLCHoklch(75.13% 0.117 102.2)
XYZxyz(38.2327, 42.8737, 14.2425)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB152 #525EBD
analogous
#BD7B52 #BDB152 #93BD52
triadic
#BDB152 #52BDB1 #B152BD
tetradic
#BDB152 #52BD7B #525EBD #BD5293
square
#BDB152 #52BD7B #525EBD #BD5293
split-complementary
#BDB152 #5293BD #7B52BD
monochromatic
#6C6429 #988D3A #BDB152 #CEC57E #DFD9AB

Accessibility & contrast

On white

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

On black

9.57
#BDB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB152
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB152#FFFFFF#000000##000000
##BDB1521.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC48
Deuteranopia (green-blind)
#C3B157
Tritanopia (blue-blind)
#CAA69C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb152;
/* rgb */ color: rgb(189, 177, 82);
/* oklch */ color: oklch(75.1% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#d3c886',
    500: '#bdb152',
    950: '#000000',
  },
}
SCSS
$custom: #bdb152;
$custom-light: #d3c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb152",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 53.271,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.11728,
    "h": 102.2
  },
  "luminance": 0.42872
}

Semantic roles & 50–950 ramp

primary
#BDB152
secondary
#9EA4CC
accent
#62D453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BDB152

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

Preview Lab → · Contrast checker → · Palette generator →

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