#BDA238#BDA238

#BDA238 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.126 H 94.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#BDA238
RGBrgb(189, 162, 56)
HSLhsl(48, 54%, 48%)
HSVhsv(48, 70%, 74%)
CMYKcmyk(0%, 14.3%, 70.4%, 25.9%)
CIE-LABlab(67.24, -1.69, 56.24)
CIE-LCHlch(67.24, 56.26, 91.72°)
OKLaboklab(71.71% -0.0099 0.1256)
OKLCHoklch(71.71% 0.126 94.5)
XYZxyz(34.6222, 36.9469, 9.0484)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA238 #3853BD
analogous
#BD6038 #BDA238 #95BD38
triadic
#BDA238 #38BDA2 #A238BD
tetradic
#BDA238 #38BD60 #3853BD #BD3895
square
#BDA238 #38BD60 #3853BD #BD3895
split-complementary
#BDA238 #3895BD #6038BD
monochromatic
#5F511C #8E7A2A #BDA238 #D0BA62 #DECF91

Accessibility & contrast

On white

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

On black

8.39
#BDA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA238
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA238#FFFFFF#000000##000000
##BDA2381.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#CC958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bda238;
/* rgb */ color: rgb(189, 162, 56);
/* oklch */ color: oklch(71.7% 0.126 94.5);
Tailwind
colors: {
  custom: {
    50: '#d5bd75',
    500: '#bda238',
    950: '#000000',
  },
}
SCSS
$custom: #bda238;
$custom-light: #d5bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bda238",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 47.82,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71705,
    "c": 0.12598,
    "h": 94.5
  },
  "luminance": 0.36945
}

Semantic roles & 50–950 ramp

primary
#BDA238
secondary
#8795C9
accent
#68DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA238

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

Preview Lab → · Contrast checker → · Palette generator →

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