#BCA22D#BCA22D

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

Color values

HEX#BCA22D
RGBrgb(188, 162, 45)
HSLhsl(49, 61%, 46%)
HSVhsv(49, 76%, 74%)
CMYKcmyk(0%, 13.8%, 76.1%, 26.3%)
CIE-LABlab(67.07, -2.65, 60.26)
CIE-LCHlch(67.07, 60.32, 92.52°)
OKLaboklab(71.53% -0.0138 0.1321)
OKLCHoklch(71.53% 0.133 96)
XYZxyz(34.1348, 36.7234, 7.7725)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA22D #2D47BC
analogous
#BC5A2D #BCA22D #8EBC2D
triadic
#BCA22D #2DBCA2 #A22DBC
tetradic
#BCA22D #2DBC5A #2D47BC #BC2D8E
square
#BCA22D #2DBC5A #2D47BC #BC2D8E
split-complementary
#BCA22D #2D8EBC #5A2DBC
monochromatic
#594D15 #8B7721 #BCA22D #D5BD51 #E1D082

Accessibility & contrast

On white

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

On black

8.34
#BCA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA22D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA22D#FFFFFF#000000##000000
##BCA22D1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#CB958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bca22d;
/* rgb */ color: rgb(188, 162, 45);
/* oklch */ color: oklch(71.5% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#d4bd6f',
    500: '#bca22d',
    950: '#000000',
  },
}
SCSS
$custom: #bca22d;
$custom-light: #d4bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bca22d",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 49.091,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71526,
    "c": 0.13278,
    "h": 96
  },
  "luminance": 0.36721
}

Semantic roles & 50–950 ramp

primary
#BCA22D
secondary
#7B89CA
accent
#61E443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BCA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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