#BC9B2F#BC9B2F

#BC9B2F is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.1% C 0.127 H 91.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BC9B2F
RGBrgb(188, 155, 47)
HSLhsl(46, 60%, 46%)
HSVhsv(46, 75%, 74%)
CMYKcmyk(0%, 17.6%, 75%, 26.3%)
CIE-LABlab(65.23, 1.19, 57.78)
CIE-LCHlch(65.23, 57.79, 88.82°)
OKLaboklab(70.08% -0.0026 0.1272)
OKLCHoklch(70.08% 0.127 91.2)
XYZxyz(32.9753, 34.3413, 7.5805)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9B2F #2F50BC
analogous
#BC542F #BC9B2F #96BC2F
triadic
#BC9B2F #2FBC9B #9B2FBC
tetradic
#BC9B2F #2FBC54 #2F50BC #BC2F96
square
#BC9B2F #2FBC54 #2F50BC #BC2F96
split-complementary
#BC9B2F #2F96BC #542FBC
monochromatic
#5A4A17 #8B7323 #BC9B2F #D4B654 #E0CB85

Accessibility & contrast

On white

2.67
#BC9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BC9B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9B2F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9B2F#FFFFFF#000000##000000
##BC9B2F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#CC8E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc9b2f;
/* rgb */ color: rgb(188, 155, 47);
/* oklch */ color: oklch(70.1% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#d4b86f',
    500: '#bc9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9b2f;
$custom-light: #d4b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9b2f",
  "rgb": {
    "r": 188,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 45.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.12721,
    "h": 91.2
  },
  "luminance": 0.34339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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