#B9C23B#B9C23B

#B9C23B is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.154 H 113.2°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#B9C23B
RGBrgb(185, 194, 59)
HSLhsl(64, 53%, 50%)
HSVhsv(64, 70%, 76%)
CMYKcmyk(4.6%, 0%, 69.6%, 23.9%)
CIE-LABlab(75.58, -19.79, 63.30)
CIE-LCHlch(75.58, 66.32, 107.36°)
OKLaboklab(78.27% -0.0605 0.1412)
OKLCHoklch(78.27% 0.154 113.2)
XYZxyz(40.0900, 49.2145, 11.5243)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C23B #443BC2
analogous
#C2883B #B9C23B #76C23B
triadic
#B9C23B #3BB9C2 #C23BB9
tetradic
#B9C23B #3BC288 #443BC2 #C23B76
square
#B9C23B #3BC288 #443BC2 #C23B76
split-complementary
#B9C23B #3B76C2 #883BC2
monochromatic
#5F641E #8C932D #B9C23B #CAD169 #DBE098

Accessibility & contrast

On white

1.94
#B9C23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#B9C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C23B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C23B#FFFFFF#000000##000000
##B9C23B1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B925
Deuteranopia (green-blind)
#D0BC45
Tritanopia (blue-blind)
#C5B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c23b;
/* rgb */ color: rgb(185, 194, 59);
/* oklch */ color: oklch(78.3% 0.154 113.2);
Tailwind
colors: {
  custom: {
    50: '#d1d479',
    500: '#b9c23b',
    950: '#000000',
  },
}
SCSS
$custom: #b9c23b;
$custom-light: #d1d479;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c23b",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 64,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78272,
    "c": 0.15356,
    "h": 113.2
  },
  "luminance": 0.49214
}

Semantic roles & 50–950 ramp

primary
#B9C23B
secondary
#928ECB
accent
#4BDD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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