#BDA62B#BDA62B

#BDA62B is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.137 H 98.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#BDA62B
RGBrgb(189, 166, 43)
HSLhsl(51, 63%, 45%)
HSVhsv(51, 77%, 74%)
CMYKcmyk(0%, 12.2%, 77.2%, 25.9%)
CIE-LABlab(68.22, -4.42, 62.05)
CIE-LCHlch(68.22, 62.21, 94.07°)
OKLaboklab(72.45% -0.019 0.1354)
OKLCHoklch(72.45% 0.137 98)
XYZxyz(35.0603, 38.2675, 7.8247)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA62B #2B42BD
analogous
#BD5D2B #BDA62B #8BBD2B
triadic
#BDA62B #2BBDA6 #A62BBD
tetradic
#BDA62B #2BBD5D #2B42BD #BD2B8B
square
#BDA62B #2BBD5D #2B42BD #BD2B8B
split-complementary
#BDA62B #2B8BBD #5D2BBD
monochromatic
#594E14 #8B7A20 #BDA62B #D7C14E #E2D380

Accessibility & contrast

On white

2.43
#BDA62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#BDA62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA62B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA62B#FFFFFF#000000##000000
##BDA62B1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A210
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#CC998F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bda62b;
/* rgb */ color: rgb(189, 166, 43);
/* oklch */ color: oklch(72.5% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#d5c06e',
    500: '#bda62b',
    950: '#000000',
  },
}
SCSS
$custom: #bda62b;
$custom-light: #d5c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda62b",
  "rgb": {
    "r": 189,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 50.548,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72454,
    "c": 0.13677,
    "h": 98
  },
  "luminance": 0.38266
}

Semantic roles & 50–950 ramp

primary
#BDA62B
secondary
#7986CB
accent
#5CE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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