#BC9D2F#BC9D2F

#BC9D2F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.128 H 92.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BC9D2F
RGBrgb(188, 157, 47)
HSLhsl(47, 60%, 46%)
HSVhsv(47, 75%, 74%)
CMYKcmyk(0%, 16.5%, 75%, 26.3%)
CIE-LABlab(65.76, 0.12, 58.28)
CIE-LCHlch(65.76, 58.28, 89.89°)
OKLaboklab(70.49% -0.0057 0.1283)
OKLCHoklch(70.49% 0.128 92.5)
XYZxyz(33.3110, 35.0125, 7.6923)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9D2F #2F4EBC
analogous
#BC572F #BC9D2F #94BC2F
triadic
#BC9D2F #2FBC9D #9D2FBC
tetradic
#BC9D2F #2FBC57 #2F4EBC #BC2F94
square
#BC9D2F #2FBC57 #2F4EBC #BC2F94
split-complementary
#BC9D2F #2F94BC #572FBC
monochromatic
#5A4B17 #8B7423 #BC9D2F #D4B854 #E0CC85

Accessibility & contrast

On white

2.62
#BC9D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BC9D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9D2F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9D2F#FFFFFF#000000##000000
##BC9D2F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1C
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#CB9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9d2f;
/* rgb */ color: rgb(188, 157, 47);
/* oklch */ color: oklch(70.5% 0.128 92.5);
Tailwind
colors: {
  custom: {
    50: '#d4b96f',
    500: '#bc9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9d2f;
$custom-light: #d4b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9d2f",
  "rgb": {
    "r": 188,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 46.809,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70494,
    "c": 0.12838,
    "h": 92.5
  },
  "luminance": 0.35011
}

Semantic roles & 50–950 ramp

primary
#BC9D2F
secondary
#7D8ECA
accent
#67E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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