#BDB627#BDB627

#BDB627 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.152 H 106.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#BDB627
RGBrgb(189, 182, 39)
HSLhsl(57, 66%, 45%)
HSVhsv(57, 79%, 74%)
CMYKcmyk(0%, 3.7%, 79.4%, 25.9%)
CIE-LABlab(72.51, -12.90, 67.17)
CIE-LCHlch(72.51, 68.40, 100.87°)
OKLaboklab(75.86% -0.0432 0.1456)
OKLCHoklch(75.86% 0.152 106.5)
XYZxyz(38.0820, 44.4226, 8.4875)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB627 #272EBD
analogous
#BD6B27 #BDB627 #79BD27
triadic
#BDB627 #27BDB6 #B627BD
tetradic
#BDB627 #27BD6B #272EBD #BD2779
square
#BDB627 #27BD6B #272EBD #BD2779
split-complementary
#BDB627 #2779BD #6B27BD
monochromatic
#585412 #8A851D #BDB627 #D9D248 #E4DF7B

Accessibility & contrast

On white

2.12
#BDB627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#BDB627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB627
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB627#FFFFFF#000000##000000
##BDB6271.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C9B434
Tritanopia (blue-blind)
#CBA99C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bdb627;
/* rgb */ color: rgb(189, 182, 39);
/* oklch */ color: oklch(75.9% 0.152 106.5);
Tailwind
colors: {
  custom: {
    50: '#d5cb6f',
    500: '#bdb627',
    950: '#000000',
  },
}
SCSS
$custom: #bdb627;
$custom-light: #d5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb627",
  "rgb": {
    "r": 189,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 57.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7586,
    "c": 0.15191,
    "h": 106.5
  },
  "luminance": 0.44421
}

Semantic roles & 50–950 ramp

primary
#BDB627
secondary
#7478CC
accent
#47E93F
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB627

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

Preview Lab → · Contrast checker → · Palette generator →

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