#B9B430#B9B430

#B9B430 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.146 H 107.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B9B430
RGBrgb(185, 180, 48)
HSLhsl(58, 59%, 46%)
HSVhsv(58, 74%, 73%)
CMYKcmyk(0%, 2.7%, 74.1%, 27.5%)
CIE-LABlab(71.67, -13.26, 63.44)
CIE-LCHlch(71.67, 64.81, 101.81°)
OKLaboklab(75.12% -0.0432 0.1395)
OKLCHoklch(75.12% 0.146 107.2)
XYZxyz(36.8638, 43.1715, 9.1868)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B430 #3035B9
analogous
#B96F30 #B9B430 #79B930
triadic
#B9B430 #30B9B4 #B430B9
tetradic
#B9B430 #30B96F #3035B9 #B93079
square
#B9B430 #30B96F #3035B9 #B93079
split-complementary
#B9B430 #3079B9 #6F30B9
monochromatic
#585517 #888523 #B9B430 #D3CE54 #DFDC84

Accessibility & contrast

On white

2.18
#B9B430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B9B430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B430
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B430#FFFFFF#000000##000000
##B9B4301.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C7A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b430;
/* rgb */ color: rgb(185, 180, 48);
/* oklch */ color: oklch(75.1% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#d2ca72',
    500: '#b9b430',
    950: '#000000',
  },
}
SCSS
$custom: #b9b430;
$custom-light: #d2ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b430",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 57.81,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75124,
    "c": 0.14606,
    "h": 107.2
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#B9B430
secondary
#7C7FC9
accent
#4CE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B430

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

Preview Lab → · Contrast checker → · Palette generator →

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