#BCA22F#BCA22F

#BCA22F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.132 H 95.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BCA22F
RGBrgb(188, 162, 47)
HSLhsl(49, 60%, 46%)
HSVhsv(49, 75%, 74%)
CMYKcmyk(0%, 13.8%, 75%, 26.3%)
CIE-LABlab(67.08, -2.57, 59.55)
CIE-LCHlch(67.08, 59.60, 92.47°)
OKLaboklab(71.54% -0.0133 0.1309)
OKLCHoklch(71.54% 0.132 95.8)
XYZxyz(34.1743, 36.7391, 7.9801)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA22F #2F49BC
analogous
#BC5B2F #BCA22F #8FBC2F
triadic
#BCA22F #2FBCA2 #A22FBC
tetradic
#BCA22F #2FBC5B #2F49BC #BC2F8F
square
#BCA22F #2FBC5B #2F49BC #BC2F8F
split-complementary
#BCA22F #2F8FBC #5B2FBC
monochromatic
#5A4E17 #8B7823 #BCA22F #D4BD54 #E0D085

Accessibility & contrast

On white

2.52
#BCA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BCA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA22F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA22F#FFFFFF#000000##000000
##BCA22F1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#CB958C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca22f;
/* rgb */ color: rgb(188, 162, 47);
/* oklch */ color: oklch(71.5% 0.132 95.8);
Tailwind
colors: {
  custom: {
    50: '#d4bd70',
    500: '#bca22f',
    950: '#000000',
  },
}
SCSS
$custom: #bca22f;
$custom-light: #d4bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#bca22f",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 48.936,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.13162,
    "h": 95.8
  },
  "luminance": 0.36737
}

Semantic roles & 50–950 ramp

primary
#BCA22F
secondary
#7D8BCA
accent
#62E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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