#BDA23B#BDA23B

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

Color values

HEX#BDA23B
RGBrgb(189, 162, 59)
HSLhsl(48, 52%, 49%)
HSVhsv(48, 69%, 74%)
CMYKcmyk(0%, 14.3%, 68.8%, 25.9%)
CIE-LABlab(67.26, -1.53, 55.01)
CIE-LCHlch(67.26, 55.03, 91.59°)
OKLaboklab(71.73% -0.0091 0.1235)
OKLCHoklch(71.73% 0.124 94.2)
XYZxyz(34.6977, 36.9771, 9.4465)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA23B #3B56BD
analogous
#BD613B #BDA23B #97BD3B
triadic
#BDA23B #3BBDA2 #A23BBD
tetradic
#BDA23B #3BBD61 #3B56BD #BD3B97
square
#BDA23B #3BBD61 #3B56BD #BD3B97
split-complementary
#BDA23B #3B97BD #613BBD
monochromatic
#60521E #8E7A2C #BDA23B #CFB966 #DECF95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA23B#FFFFFF#000000##000000
##BDA23B1.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)
#B39F2D
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#CC968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda23b;
/* rgb */ color: rgb(189, 162, 59);
/* oklch */ color: oklch(71.7% 0.124 94.2);
Tailwind
colors: {
  custom: {
    50: '#d4bd77',
    500: '#bda23b',
    950: '#000000',
  },
}
SCSS
$custom: #bda23b;
$custom-light: #d4bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bda23b",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 47.538,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7173,
    "c": 0.12386,
    "h": 94.2
  },
  "luminance": 0.36975
}

Semantic roles & 50–950 ramp

primary
#BDA23B
secondary
#8B98C9
accent
#6ADC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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