#B9CB48#B9CB48

#B9CB48 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.4% C 0.155 H 116.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#B9CB48
RGBrgb(185, 203, 72)
HSLhsl(68, 56%, 54%)
HSVhsv(68, 65%, 80%)
CMYKcmyk(8.9%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.17, -23.44, 60.90)
CIE-LCHlch(78.17, 65.25, 111.05°)
OKLaboklab(80.37% -0.0694 0.1381)
OKLCHoklch(80.37% 0.155 116.7)
XYZxyz(42.5341, 53.4946, 14.2144)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CB48 #5A48CB
analogous
#CB9C48 #B9CB48 #78CB48
triadic
#B9CB48 #48B9CB #CB48B9
tetradic
#B9CB48 #48CB9C #5A48CB #CB4878
square
#B9CB48 #48CB9C #5A48CB #CB4878
split-complementary
#B9CB48 #4878CB #9C48CB
monochromatic
#6B7722 #96A62F #B9CB48 #CBD978 #DDE6A7

Accessibility & contrast

On white

1.80
#B9CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#B9CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CB48
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CB48#FFFFFF#000000##000000
##B9CB481.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C137
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#C4C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9cb48;
/* rgb */ color: rgb(185, 203, 72);
/* oklch */ color: oklch(80.4% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#d1da81',
    500: '#b9cb48',
    950: '#000000',
  },
}
SCSS
$custom: #b9cb48;
$custom-light: #d1da81;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cb48",
  "rgb": {
    "r": 185,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 68.244,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80371,
    "c": 0.15457,
    "h": 116.7
  },
  "luminance": 0.53494
}

Semantic roles & 50–950 ramp

primary
#B9CB48
secondary
#42387F
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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