#B9B330#B9B330

#B9B330 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.145 H 106.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B9B330
RGBrgb(185, 179, 48)
HSLhsl(57, 59%, 46%)
HSVhsv(57, 74%, 73%)
CMYKcmyk(0%, 3.2%, 74.1%, 27.5%)
CIE-LABlab(71.40, -12.75, 63.18)
CIE-LCHlch(71.40, 64.45, 101.41°)
OKLaboklab(74.91% -0.0418 0.139)
OKLCHoklch(74.91% 0.145 106.7)
XYZxyz(36.6627, 42.7692, 9.1198)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B330 #3036B9
analogous
#B96E30 #B9B330 #7AB930
triadic
#B9B330 #30B9B3 #B330B9
tetradic
#B9B330 #30B96E #3036B9 #B9307A
square
#B9B330 #30B96E #3036B9 #B9307A
split-complementary
#B9B330 #307AB9 #6E30B9
monochromatic
#585517 #888423 #B9B330 #D3CD54 #DFDB84

Accessibility & contrast

On white

2.20
#B9B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B9B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B330
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B330#FFFFFF#000000##000000
##B9B3301.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b330;
/* rgb */ color: rgb(185, 179, 48);
/* oklch */ color: oklch(74.9% 0.145 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2c972',
    500: '#b9b330',
    950: '#000000',
  },
}
SCSS
$custom: #b9b330;
$custom-light: #d2c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b330",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 57.372,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74906,
    "c": 0.14513,
    "h": 106.7
  },
  "luminance": 0.42768
}

Semantic roles & 50–950 ramp

primary
#B9B330
secondary
#7C80C9
accent
#4DE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B330

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

Preview Lab → · Contrast checker → · Palette generator →

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