#BC9E2F#BC9E2F

#BC9E2F is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.7% C 0.129 H 93.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#BC9E2F
RGBrgb(188, 158, 47)
HSLhsl(47, 60%, 46%)
HSVhsv(47, 75%, 74%)
CMYKcmyk(0%, 16%, 75%, 26.3%)
CIE-LABlab(66.02, -0.42, 58.54)
CIE-LCHlch(66.02, 58.54, 90.41°)
OKLaboklab(70.7% -0.0072 0.1288)
OKLCHoklch(70.7% 0.129 93.2)
XYZxyz(33.4808, 35.3523, 7.7490)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9E2F #2F4DBC
analogous
#BC572F #BC9E2F #93BC2F
triadic
#BC9E2F #2FBC9E #9E2FBC
tetradic
#BC9E2F #2FBC57 #2F4DBC #BC2F93
square
#BC9E2F #2FBC57 #2F4DBC #BC2F93
split-complementary
#BC9E2F #2F93BC #572FBC
monochromatic
#5A4C17 #8B7523 #BC9E2F #D4B954 #E0CD85

Accessibility & contrast

On white

2.60
#BC9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#BC9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9E2F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9E2F#FFFFFF#000000##000000
##BC9E2F1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#CB9188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc9e2f;
/* rgb */ color: rgb(188, 158, 47);
/* oklch */ color: oklch(70.7% 0.129 93.2);
Tailwind
colors: {
  custom: {
    50: '#d4ba70',
    500: '#bc9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #bc9e2f;
$custom-light: #d4ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9e2f",
  "rgb": {
    "r": 188,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 47.234,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.12899,
    "h": 93.2
  },
  "luminance": 0.3535
}

Semantic roles & 50–950 ramp

primary
#BC9E2F
secondary
#7D8DCA
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BC9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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