#B9CF48#B9CF48

#B9CF48 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.3% C 0.159 H 118.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#B9CF48
RGBrgb(185, 207, 72)
HSLhsl(70, 58%, 55%)
HSVhsv(70, 65%, 81%)
CMYKcmyk(10.6%, 0%, 65.2%, 18.8%)
CIE-LABlab(79.28, -25.38, 62.06)
CIE-LCHlch(79.28, 67.05, 112.24°)
OKLaboklab(81.26% -0.0748 0.1406)
OKLCHoklch(81.26% 0.159 118)
XYZxyz(43.4909, 55.4082, 14.5334)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF48 #5E48CF
analogous
#CFA248 #B9CF48 #75CF48
triadic
#B9CF48 #48B9CF #CF48B9
tetradic
#B9CF48 #48CFA2 #5E48CF #CF4875
square
#B9CF48 #48CFA2 #5E48CF #CF4875
split-complementary
#B9CF48 #4875CF #A248CF
monochromatic
#6D7C21 #98AD2D #B9CF48 #CCDC78 #DEE8A9

Accessibility & contrast

On white

1.74
#B9CF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#B9CF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CF48
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CF48#FFFFFF#000000##000000
##B9CF481.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#C4C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b9cf48;
/* rgb */ color: rgb(185, 207, 72);
/* oklch */ color: oklch(81.3% 0.159 118.0);
Tailwind
colors: {
  custom: {
    50: '#d1dd82',
    500: '#b9cf48',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf48;
$custom-light: #d1dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf48",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 69.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.15922,
    "h": 118
  },
  "luminance": 0.55408
}

Semantic roles & 50–950 ramp

primary
#B9CF48
secondary
#443784
accent
#46E25F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CF48

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

Preview Lab → · Contrast checker → · Palette generator →

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