#BDB962#BDB962

#BDB962 is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.110 H 106.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BDB962
RGBrgb(189, 185, 98)
HSLhsl(57, 41%, 56%)
HSVhsv(57, 48%, 74%)
CMYKcmyk(0%, 2.1%, 48.1%, 25.9%)
CIE-LABlab(73.80, -10.71, 44.31)
CIE-LCHlch(73.80, 45.59, 103.59°)
OKLaboklab(77.05% -0.0309 0.1054)
OKLCHoklch(77.05% 0.11 106.4)
XYZxyz(40.5408, 46.3997, 18.3734)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB962 #6266BD
analogous
#BD8C62 #BDB962 #94BD62
triadic
#BDB962 #62BDB9 #B962BD
tetradic
#BDB962 #62BD8C #6266BD #BD6294
square
#BDB962 #62BD8C #6266BD #BD6294
split-complementary
#BDB962 #6294BD #8C62BD
monochromatic
#747131 #9F9B43 #BDB962 #CFCC8D #E1DFB8

Accessibility & contrast

On white

2.04
#BDB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BDB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB962
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB962#FFFFFF#000000##000000
##BDB9621.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#C8B766
Tritanopia (blue-blind)
#C8AFA5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bdb962;
/* rgb */ color: rgb(189, 185, 98);
/* oklch */ color: oklch(77.0% 0.110 106.4);
Tailwind
colors: {
  custom: {
    50: '#d3cd91',
    500: '#bdb962',
    950: '#000000',
  },
}
SCSS
$custom: #bdb962;
$custom-light: #d3cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb962",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 57.363,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77045,
    "c": 0.10987,
    "h": 106.4
  },
  "luminance": 0.46399
}

Semantic roles & 50–950 ramp

primary
#BDB962
secondary
#ABACD0
accent
#5CD157
background
#FDFCF9
surface
#FAF9F1
border
#D3D2CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BDB962

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

Preview Lab → · Contrast checker → · Palette generator →

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