#BDA142#BDA142

#BDA142 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.6% C 0.118 H 92.7°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BDA142
RGBrgb(189, 161, 66)
HSLhsl(46, 48%, 50%)
HSVhsv(46, 65%, 74%)
CMYKcmyk(0%, 14.8%, 65.1%, 25.9%)
CIE-LABlab(67.05, -0.58, 51.75)
CIE-LCHlch(67.05, 51.75, 90.64°)
OKLaboklab(71.59% -0.0055 0.1178)
OKLCHoklch(71.59% 0.118 92.7)
XYZxyz(34.7162, 36.7038, 10.4092)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA142 #425EBD
analogous
#BD6342 #BDA142 #9CBD42
triadic
#BDA142 #42BDA1 #A142BD
tetradic
#BDA142 #42BD63 #425EBD #BD429C
square
#BDA142 #42BD63 #425EBD #BD429C
split-complementary
#BDA142 #429CBD #6342BD
monochromatic
#625422 #907A32 #BDA142 #CDB86F #DDCE9D

Accessibility & contrast

On white

2.52
#BDA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#BDA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA142
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA142#FFFFFF#000000##000000
##BDA1421.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B8A746
Tritanopia (blue-blind)
#CC958D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda142;
/* rgb */ color: rgb(189, 161, 66);
/* oklch */ color: oklch(71.6% 0.118 92.7);
Tailwind
colors: {
  custom: {
    50: '#d4bc7b',
    500: '#bda142',
    950: '#000000',
  },
}
SCSS
$custom: #bda142;
$custom-light: #d4bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bda142",
  "rgb": {
    "r": 189,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 46.341,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.11789,
    "h": 92.7
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

primary
#BDA142
secondary
#929EC9
accent
#6FD850
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA142

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

Preview Lab → · Contrast checker → · Palette generator →

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