#BDC271#BDC271

#BDC271 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.104 H 111.6°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BDC271
RGBrgb(189, 194, 113)
HSLhsl(64, 40%, 60%)
HSVhsv(64, 42%, 76%)
CMYKcmyk(2.6%, 0%, 41.8%, 23.9%)
CIE-LABlab(76.43, -13.81, 40.07)
CIE-LCHlch(76.43, 42.39, 109.02°)
OKLaboklab(79.2% -0.0384 0.097)
OKLCHoklch(79.2% 0.104 111.6)
XYZxyz(43.2592, 50.5954, 23.1066)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDC271 #7671C2
analogous
#C29F71 #BDC271 #94C271
triadic
#BDC271 #71BDC2 #C271BD
tetradic
#BDC271 #71C29F #7671C2 #C27194
square
#BDC271 #71C29F #7671C2 #C27194
split-complementary
#BDC271 #7194C2 #9F71C2
monochromatic
#7D8137 #A6AC4A #BDC271 #D1D49C #E5E7C7

Accessibility & contrast

On white

1.89
#BDC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BDC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDC271
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDC271#FFFFFF#000000##000000
##BDC2711.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#CDBE75
Tritanopia (blue-blind)
#C7B9AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bdc271;
/* rgb */ color: rgb(189, 194, 113);
/* oklch */ color: oklch(79.2% 0.104 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d49b',
    500: '#bdc271',
    950: '#000000',
  },
}
SCSS
$custom: #bdc271;
$custom-light: #d2d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdc271",
  "rgb": {
    "r": 189,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 63.704,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79201,
    "c": 0.10437,
    "h": 111.6
  },
  "luminance": 0.50595
}

Semantic roles & 50–950 ramp

primary
#BDC271
secondary
#514E8A
accent
#33B33B
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BDC271

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

Preview Lab → · Contrast checker → · Palette generator →

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