#BBB742#BBB742

#BBB742 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.137 H 107.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#BBB742
RGBrgb(187, 183, 66)
HSLhsl(58, 48%, 50%)
HSVhsv(58, 65%, 73%)
CMYKcmyk(0%, 2.1%, 64.7%, 26.7%)
CIE-LABlab(72.78, -12.99, 57.76)
CIE-LCHlch(72.78, 59.20, 102.68°)
OKLaboklab(76.09% -0.0408 0.1305)
OKLCHoklch(76.09% 0.137 107.4)
XYZxyz(38.4117, 44.8263, 11.7822)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB742 #4246BB
analogous
#BB7B42 #BBB742 #82BB42
triadic
#BBB742 #42BBB7 #B742BB
tetradic
#BBB742 #42BB7B #4246BB #BB4282
square
#BBB742 #42BB7B #4246BB #BB4282
split-complementary
#BBB742 #4282BB #7B42BB
monochromatic
#615E22 #8E8B32 #BBB742 #CCC96E #DCDA9C

Accessibility & contrast

On white

2.11
#BBB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#BBB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB742
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB742#FFFFFF#000000##000000
##BBB7421.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#C8AB9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bbb742;
/* rgb */ color: rgb(187, 183, 66);
/* oklch */ color: oklch(76.1% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#d2cc7c',
    500: '#bbb742',
    950: '#000000',
  },
}
SCSS
$custom: #bbb742;
$custom-light: #d2cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb742",
  "rgb": {
    "r": 187,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 58.017,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.13677,
    "h": 107.4
  },
  "luminance": 0.44825
}

Semantic roles & 50–950 ramp

primary
#BBB742
secondary
#9193C8
accent
#55D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBB742

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

Preview Lab → · Contrast checker → · Palette generator →

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