#BBC271#BBC271

#BBC271 is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.105 H 112.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#BBC271
RGBrgb(187, 194, 113)
HSLhsl(65, 40%, 60%)
HSVhsv(65, 42%, 76%)
CMYKcmyk(3.6%, 0%, 41.8%, 23.9%)
CIE-LABlab(76.28, -14.61, 39.85)
CIE-LCHlch(76.28, 42.44, 110.14°)
OKLaboklab(79.04% -0.0406 0.0965)
OKLCHoklch(79.04% 0.105 112.8)
XYZxyz(42.7664, 50.3413, 23.0835)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC271 #7871C2
analogous
#C2A071 #BBC271 #93C271
triadic
#BBC271 #71BBC2 #C271BB
tetradic
#BBC271 #71C2A0 #7871C2 #C27193
square
#BBC271 #71C2A0 #7871C2 #C27193
split-complementary
#BBC271 #7193C2 #A071C2
monochromatic
#7B8137 #A3AC4A #BBC271 #D0D49C #E4E7C7

Accessibility & contrast

On white

1.90
#BBC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#BBC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC271
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC271#FFFFFF#000000##000000
##BBC2711.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#CDBD75
Tritanopia (blue-blind)
#C4B9AE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bbc271;
/* rgb */ color: rgb(187, 194, 113);
/* oklch */ color: oklch(79.0% 0.105 112.8);
Tailwind
colors: {
  custom: {
    50: '#d1d49b',
    500: '#bbc271',
    950: '#000000',
  },
}
SCSS
$custom: #bbc271;
$custom-light: #d1d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc271",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 65.185,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79039,
    "c": 0.10473,
    "h": 112.8
  },
  "luminance": 0.50341
}

Semantic roles & 50–950 ramp

primary
#BBC271
secondary
#534E8A
accent
#33B33E
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BBC271

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

Preview Lab → · Contrast checker → · Palette generator →

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