#BDA23E#BDA23E

#BDA23E is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.122 H 93.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BDA23E
RGBrgb(189, 162, 62)
HSLhsl(47, 51%, 49%)
HSVhsv(47, 67%, 74%)
CMYKcmyk(0%, 14.3%, 67.2%, 25.9%)
CIE-LABlab(67.28, -1.36, 53.76)
CIE-LCHlch(67.28, 53.77, 91.45°)
OKLaboklab(71.76% -0.0082 0.1214)
OKLCHoklch(71.76% 0.122 93.9)
XYZxyz(34.7778, 37.0091, 9.8681)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA23E #3E59BD
analogous
#BD633E #BDA23E #99BD3E
triadic
#BDA23E #3EBDA2 #A23EBD
tetradic
#BDA23E #3EBD63 #3E59BD #BD3E99
square
#BDA23E #3EBD63 #3E59BD #BD3E99
split-complementary
#BDA23E #3E99BD #633EBD
monochromatic
#615320 #8F7B2F #BDA23E #CEB96A #DDCF98

Accessibility & contrast

On white

2.50
#BDA23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#BDA23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA23E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA23E#FFFFFF#000000##000000
##BDA23E1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F32
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#CC968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda23e;
/* rgb */ color: rgb(189, 162, 62);
/* oklch */ color: oklch(71.8% 0.122 93.9);
Tailwind
colors: {
  custom: {
    50: '#d4bd78',
    500: '#bda23e',
    950: '#000000',
  },
}
SCSS
$custom: #bda23e;
$custom-light: #d4bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bda23e",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 47.244,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71757,
    "c": 0.12166,
    "h": 93.9
  },
  "luminance": 0.37007
}

Semantic roles & 50–950 ramp

primary
#BDA23E
secondary
#8E9AC9
accent
#6CDA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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