#BCA23F#BCA23F

#BCA23F is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.121 H 94.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BCA23F
RGBrgb(188, 162, 63)
HSLhsl(48, 50%, 49%)
HSVhsv(48, 66%, 74%)
CMYKcmyk(0%, 13.8%, 66.5%, 26.3%)
CIE-LABlab(67.20, -1.74, 53.20)
CIE-LCHlch(67.20, 53.23, 91.87°)
OKLaboklab(71.67% -0.0091 0.1204)
OKLCHoklch(71.67% 0.121 94.3)
XYZxyz(34.5582, 36.8927, 10.0024)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCA23F #3F59BC
analogous
#BC643F #BCA23F #98BC3F
triadic
#BCA23F #3FBCA2 #A23FBC
tetradic
#BCA23F #3FBC64 #3F59BC #BC3F98
square
#BCA23F #3FBC64 #3F59BC #BC3F98
split-complementary
#BCA23F #3F98BC #643FBC
monochromatic
#605320 #8E7B30 #BCA23F #CDB96B #DDCF99

Accessibility & contrast

On white

2.51
#BCA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BCA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCA23F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCA23F#FFFFFF#000000##000000
##BCA23F1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#CB968D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bca23f;
/* rgb */ color: rgb(188, 162, 63);
/* oklch */ color: oklch(71.7% 0.121 94.3);
Tailwind
colors: {
  custom: {
    50: '#d3bd79',
    500: '#bca23f',
    950: '#000000',
  },
}
SCSS
$custom: #bca23f;
$custom-light: #d3bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bca23f",
  "rgb": {
    "r": 188,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 47.52,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.12075,
    "h": 94.3
  },
  "luminance": 0.36891
}

Semantic roles & 50–950 ramp

primary
#BCA23F
secondary
#8E9AC9
accent
#6BD94E
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BCA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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