#BCAF30#BCAF30

#BCAF30 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.141 H 103.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BCAF30
RGBrgb(188, 175, 48)
HSLhsl(54, 59%, 46%)
HSVhsv(54, 74%, 74%)
CMYKcmyk(0%, 6.9%, 74.5%, 26.3%)
CIE-LABlab(70.57, -9.37, 62.49)
CIE-LCHlch(70.57, 63.19, 98.53°)
OKLaboklab(74.31% -0.0325 0.1374)
OKLCHoklch(74.31% 0.141 103.3)
XYZxyz(36.6041, 41.5663, 8.8907)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BCAF30 #303DBC
analogous
#BC6930 #BCAF30 #83BC30
triadic
#BCAF30 #30BCAF #AF30BC
tetradic
#BCAF30 #30BC69 #303DBC #BC3083
square
#BCAF30 #30BC69 #303DBC #BC3083
split-complementary
#BCAF30 #3083BC #6930BC
monochromatic
#5A5417 #8B8224 #BCAF30 #D4C855 #E0D886

Accessibility & contrast

On white

2.25
#BCAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#BCAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BCAF30
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BCAF30#FFFFFF#000000##000000
##BCAF301.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#CAA397
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bcaf30;
/* rgb */ color: rgb(188, 175, 48);
/* oklch */ color: oklch(74.3% 0.141 103.3);
Tailwind
colors: {
  custom: {
    50: '#d4c672',
    500: '#bcaf30',
    950: '#000000',
  },
}
SCSS
$custom: #bcaf30;
$custom-light: #d4c672;
$custom-dark: #000000;
JSON
{
  "hex": "#bcaf30",
  "rgb": {
    "r": 188,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 54.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7431,
    "c": 0.14118,
    "h": 103.3
  },
  "luminance": 0.41565
}

Semantic roles & 50–950 ramp

primary
#BCAF30
secondary
#7E85CA
accent
#54E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BCAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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