#BCAF45#BCAF45

#BCAF45 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.127 H 102.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BCAF45
RGBrgb(188, 175, 69)
HSLhsl(53, 47%, 50%)
HSVhsv(53, 63%, 74%)
CMYKcmyk(0%, 6.9%, 63.3%, 26.3%)
CIE-LABlab(70.72, -8.24, 54.33)
CIE-LCHlch(70.72, 54.95, 98.62°)
OKLaboklab(74.48% -0.027 0.1237)
OKLCHoklch(74.48% 0.127 102.3)
XYZxyz(37.1446, 41.7824, 11.7373)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF45 #4552BC
analogous
#BC7345 #BCAF45 #8EBC45
triadic
#BCAF45 #45BCAF #AF45BC
tetradic
#BCAF45 #45BC73 #4552BC #BC458E
square
#BCAF45 #45BC73 #4552BC #BC458E
split-complementary
#BCAF45 #458EBC #7345BC
monochromatic
#635C24 #908634 #BCAF45 #CCC272 #DCD69F

Accessibility & contrast

On white

2.24
#BCAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#BCAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF45
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF45#FFFFFF#000000##000000
##BCAF451.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#CAA399
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf45;
/* rgb */ color: rgb(188, 175, 69);
/* oklch */ color: oklch(74.5% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#d3c67d',
    500: '#bcaf45',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf45;
$custom-light: #d3c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf45",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 53.445,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74477,
    "c": 0.12665,
    "h": 102.3
  },
  "luminance": 0.41781
}

Semantic roles & 50–950 ramp

primary
#BCAF45
secondary
#949AC9
accent
#60D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BCAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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