#B9B630#B9B630

#B9B630 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.148 H 108.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B9B630
RGBrgb(185, 182, 48)
HSLhsl(59, 59%, 46%)
HSVhsv(59, 74%, 73%)
CMYKcmyk(0%, 1.6%, 74.1%, 27.5%)
CIE-LABlab(72.22, -14.28, 63.95)
CIE-LCHlch(72.22, 65.53, 102.59°)
OKLaboklab(75.56% -0.0461 0.1406)
OKLCHoklch(75.56% 0.148 108.2)
XYZxyz(37.2705, 43.9848, 9.3224)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B630 #3033B9
analogous
#B97130 #B9B630 #77B930
triadic
#B9B630 #30B9B6 #B630B9
tetradic
#B9B630 #30B971 #3033B9 #B93077
square
#B9B630 #30B971 #3033B9 #B93077
split-complementary
#B9B630 #3077B9 #7130B9
monochromatic
#585617 #888623 #B9B630 #D3D054 #DFDD84

Accessibility & contrast

On white

2.14
#B9B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B9B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B630
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B630#FFFFFF#000000##000000
##B9B6301.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#C7AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b630;
/* rgb */ color: rgb(185, 182, 48);
/* oklch */ color: oklch(75.6% 0.148 108.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb73',
    500: '#b9b630',
    950: '#000000',
  },
}
SCSS
$custom: #b9b630;
$custom-light: #d2cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b630",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 58.686,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7556,
    "c": 0.14797,
    "h": 108.2
  },
  "luminance": 0.43984
}

Semantic roles & 50–950 ramp

primary
#B9B630
secondary
#7C7EC9
accent
#49E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B630

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

Preview Lab → · Contrast checker → · Palette generator →

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