#B9C348#B9C348

#B9C348 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.6% C 0.145 H 113.7°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#B9C348
RGBrgb(185, 195, 72)
HSLhsl(65, 51%, 52%)
HSVhsv(65, 63%, 76%)
CMYKcmyk(5.1%, 0%, 63.1%, 23.5%)
CIE-LABlab(75.95, -19.51, 58.57)
CIE-LCHlch(75.95, 61.73, 108.42°)
OKLaboklab(78.6% -0.0584 0.1332)
OKLCHoklch(78.6% 0.145 113.7)
XYZxyz(40.6934, 49.8131, 13.6009)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C348 #5248C3
analogous
#C38F48 #B9C348 #7CC348
triadic
#B9C348 #48B9C3 #C348B9
tetradic
#B9C348 #48C38F #5248C3 #C3487C
square
#B9C348 #48C38F #5248C3 #C3487C
split-complementary
#B9C348 #487CC3 #8F48C3
monochromatic
#676D24 #939B33 #B9C348 #CBD276 #DCE1A4

Accessibility & contrast

On white

1.92
#B9C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#B9C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C348
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C348#FFFFFF#000000##000000
##B9C3481.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA38
Deuteranopia (green-blind)
#D0BD50
Tritanopia (blue-blind)
#C5B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c348;
/* rgb */ color: rgb(185, 195, 72);
/* oklch */ color: oklch(78.6% 0.145 113.7);
Tailwind
colors: {
  custom: {
    50: '#d1d581',
    500: '#b9c348',
    950: '#000000',
  },
}
SCSS
$custom: #b9c348;
$custom-light: #d1d581;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c348",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 64.878,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78599,
    "c": 0.14543,
    "h": 113.7
  },
  "luminance": 0.49812
}

Semantic roles & 50–950 ramp

primary
#B9C348
secondary
#9D99CE
accent
#4EDA59
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140B
muted
#83837C

Preview Lab

Preview with #B9C348

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

Preview Lab → · Contrast checker → · Palette generator →

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