#BC9A2D#BC9A2D

#BC9A2D is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.9% C 0.128 H 90.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#BC9A2D
RGBrgb(188, 154, 45)
HSLhsl(46, 61%, 46%)
HSVhsv(46, 76%, 74%)
CMYKcmyk(0%, 18.1%, 76.1%, 26.3%)
CIE-LABlab(64.96, 1.65, 58.27)
CIE-LCHlch(64.96, 58.29, 88.38°)
OKLaboklab(69.86% -0.0015 0.1278)
OKLCHoklch(69.86% 0.128 90.7)
XYZxyz(32.7702, 33.9941, 7.3176)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9A2D #2D4FBC
analogous
#BC522D #BC9A2D #96BC2D
triadic
#BC9A2D #2DBC9A #9A2DBC
tetradic
#BC9A2D #2DBC52 #2D4FBC #BC2D96
square
#BC9A2D #2DBC52 #2D4FBC #BC2D96
split-complementary
#BC9A2D #2D96BC #522DBC
monochromatic
#594915 #8B7221 #BC9A2D #D5B651 #E1CB82

Accessibility & contrast

On white

2.69
#BC9A2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#BC9A2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9A2D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9A2D#FFFFFF#000000##000000
##BC9A2D1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981A
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#CC8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9a2d;
/* rgb */ color: rgb(188, 154, 45);
/* oklch */ color: oklch(69.9% 0.128 90.7);
Tailwind
colors: {
  custom: {
    50: '#d4b76e',
    500: '#bc9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #bc9a2d;
$custom-light: #d4b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9a2d",
  "rgb": {
    "r": 188,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 45.734,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69858,
    "c": 0.12783,
    "h": 90.7
  },
  "luminance": 0.33992
}

Semantic roles & 50–950 ramp

primary
#BC9A2D
secondary
#7B8ECA
accent
#6AE443
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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