#BDB162#BDB162

#BDB162 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.101 H 100.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BDB162
RGBrgb(189, 177, 98)
HSLhsl(52, 41%, 56%)
HSVhsv(52, 48%, 74%)
CMYKcmyk(0%, 6.3%, 48.1%, 25.9%)
CIE-LABlab(71.65, -6.55, 41.71)
CIE-LCHlch(71.65, 42.22, 98.92°)
OKLaboklab(75.34% -0.019 0.0997)
OKLCHoklch(75.34% 0.101 100.8)
XYZxyz(38.9141, 43.1462, 17.8311)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB162 #626EBD
analogous
#BD8462 #BDB162 #9CBD62
triadic
#BDB162 #62BDB1 #B162BD
tetradic
#BDB162 #62BD84 #626EBD #BD629C
square
#BDB162 #62BD84 #626EBD #BD629C
split-complementary
#BDB162 #629CBD #8462BD
monochromatic
#746B31 #9F9343 #BDB162 #CFC68D #E1DCB8

Accessibility & contrast

On white

2.18
#BDB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BDB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB162
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB162#FFFFFF#000000##000000
##BDB1621.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD5B
Deuteranopia (green-blind)
#C2B265
Tritanopia (blue-blind)
#C9A79E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb162;
/* rgb */ color: rgb(189, 177, 98);
/* oklch */ color: oklch(75.3% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#d3c890',
    500: '#bdb162',
    950: '#000000',
  },
}
SCSS
$custom: #bdb162;
$custom-light: #d3c890;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb162",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 52.088,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.75338,
    "c": 0.10146,
    "h": 100.8
  },
  "luminance": 0.43145
}

Semantic roles & 50–950 ramp

primary
#BDB162
secondary
#ABB0D0
accent
#67D157
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D

Preview Lab

Preview with #BDB162

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

Preview Lab → · Contrast checker → · Palette generator →

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