#BC9A2F#BC9A2F

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

Color values

HEX#BC9A2F
RGBrgb(188, 154, 47)
HSLhsl(46, 60%, 46%)
HSVhsv(46, 75%, 74%)
CMYKcmyk(0%, 18.1%, 75%, 26.3%)
CIE-LABlab(64.97, 1.73, 57.53)
CIE-LCHlch(64.97, 57.55, 88.27°)
OKLaboklab(69.87% -0.0011 0.1267)
OKLCHoklch(69.87% 0.127 90.5)
XYZxyz(32.8096, 34.0099, 7.5252)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9A2F #2F51BC
analogous
#BC532F #BC9A2F #97BC2F
triadic
#BC9A2F #2FBC9A #9A2FBC
tetradic
#BC9A2F #2FBC53 #2F51BC #BC2F97
square
#BC9A2F #2FBC53 #2F51BC #BC2F97
split-complementary
#BC9A2F #2F97BC #532FBC
monochromatic
#5A4A17 #8B7223 #BC9A2F #D4B554 #E0CA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC9A2F#FFFFFF#000000##000000
##BC9A2F1.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)
#AC981D
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#CC8D85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9a2f;
/* rgb */ color: rgb(188, 154, 47);
/* oklch */ color: oklch(69.9% 0.127 90.5);
Tailwind
colors: {
  custom: {
    50: '#d4b76f',
    500: '#bc9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9a2f;
$custom-light: #d4b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9a2f",
  "rgb": {
    "r": 188,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 45.532,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69872,
    "c": 0.12665,
    "h": 90.5
  },
  "luminance": 0.34008
}

Semantic roles & 50–950 ramp

primary
#BC9A2F
secondary
#7D8FCA
accent
#6BE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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