#BBB274#BBB274

#BBB274 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.082 H 101.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#BBB274
RGBrgb(187, 178, 116)
HSLhsl(52, 34%, 59%)
HSVhsv(52, 38%, 73%)
CMYKcmyk(0%, 4.8%, 38%, 26.7%)
CIE-LABlab(72.01, -6.00, 32.86)
CIE-LCHlch(72.01, 33.40, 100.34°)
OKLaboklab(75.66% -0.0157 0.0808)
OKLCHoklch(75.66% 0.082 101)
XYZxyz(39.5669, 43.6676, 22.8640)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB274 #747DBB
analogous
#BB8F74 #BBB274 #A1BB74
triadic
#BBB274 #74BBB2 #B274BB
tetradic
#BBB274 #74BB8F #747DBB #BB74A1
square
#BBB274 #74BB8F #747DBB #BB74A1
split-complementary
#BBB274 #74A1BB #8F74BB
monochromatic
#79713B #A2984F #BBB274 #CFC99D #E3E0C6

Accessibility & contrast

On white

2.16
#BBB274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#BBB274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB274
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB274#FFFFFF#000000##000000
##BBB2741.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAE6F
Deuteranopia (green-blind)
#C0B276
Tritanopia (blue-blind)
#C5AAA2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb274;
/* rgb */ color: rgb(187, 178, 116);
/* oklch */ color: oklch(75.7% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#d0c89d',
    500: '#bbb274',
    950: '#000000',
  },
}
SCSS
$custom: #bbb274;
$custom-light: #d0c89d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb274",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 52.394,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.75659,
    "c": 0.08227,
    "h": 101
  },
  "luminance": 0.43667
}

Semantic roles & 50–950 ramp

primary
#BBB274
secondary
#B8BBD3
accent
#6BCA5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BBB274

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

Preview Lab → · Contrast checker → · Palette generator →

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