#BDA23C#BDA23C

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

Color values

HEX#BDA23C
RGBrgb(189, 162, 60)
HSLhsl(47, 52%, 49%)
HSVhsv(47, 68%, 74%)
CMYKcmyk(0%, 14.3%, 68.3%, 25.9%)
CIE-LABlab(67.27, -1.48, 54.60)
CIE-LCHlch(67.27, 54.62, 91.55°)
OKLaboklab(71.74% -0.0088 0.1228)
OKLCHoklch(71.74% 0.123 94.1)
XYZxyz(34.7239, 36.9876, 9.5844)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA23C #3C57BD
analogous
#BD623C #BDA23C #98BD3C
triadic
#BDA23C #3CBDA2 #A23CBD
tetradic
#BDA23C #3CBD62 #3C57BD #BD3C98
square
#BDA23C #3CBD62 #3C57BD #BD3C98
split-complementary
#BDA23C #3C98BD #623CBD
monochromatic
#60521F #8F7A2D #BDA23C #CFB967 #DECF96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA23C#FFFFFF#000000##000000
##BDA23C1.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)
#B39F2F
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#CC968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda23c;
/* rgb */ color: rgb(189, 162, 60);
/* oklch */ color: oklch(71.7% 0.123 94.1);
Tailwind
colors: {
  custom: {
    50: '#d4bd77',
    500: '#bda23c',
    950: '#000000',
  },
}
SCSS
$custom: #bda23c;
$custom-light: #d4bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bda23c",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 47.442,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.12315,
    "h": 94.1
  },
  "luminance": 0.36986
}

Semantic roles & 50–950 ramp

primary
#BDA23C
secondary
#8C99C9
accent
#6ADB4D
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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