#BDA23F#BDA23F

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

Color values

HEX#BDA23F
RGBrgb(189, 162, 63)
HSLhsl(47, 50%, 49%)
HSVhsv(47, 67%, 74%)
CMYKcmyk(0%, 14.3%, 66.7%, 25.9%)
CIE-LABlab(67.29, -1.30, 53.33)
CIE-LCHlch(67.29, 53.35, 91.40°)
OKLaboklab(71.77% -0.008 0.1206)
OKLCHoklch(71.77% 0.121 93.8)
XYZxyz(34.8055, 37.0202, 10.0140)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA23F #3F5ABD
analogous
#BD633F #BDA23F #99BD3F
triadic
#BDA23F #3FBDA2 #A23FBD
tetradic
#BDA23F #3FBD63 #3F5ABD #BD3F99
square
#BDA23F #3FBD63 #3F5ABD #BD3F99
split-complementary
#BDA23F #3F99BD #633FBD
monochromatic
#615320 #8F7B30 #BDA23F #CEB96B #DDCF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA23F#FFFFFF#000000##000000
##BDA23F1.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)
#B29F33
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#CC968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda23f;
/* rgb */ color: rgb(189, 162, 63);
/* oklch */ color: oklch(71.8% 0.121 93.8);
Tailwind
colors: {
  custom: {
    50: '#d4bd79',
    500: '#bda23f',
    950: '#000000',
  },
}
SCSS
$custom: #bda23f;
$custom-light: #d4bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bda23f",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 47.143,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71766,
    "c": 0.1209,
    "h": 93.8
  },
  "luminance": 0.37018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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