#B9B02D#B9B02D

#B9B02D is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.144 H 105.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B9B02D
RGBrgb(185, 176, 45)
HSLhsl(56, 61%, 45%)
HSVhsv(56, 76%, 73%)
CMYKcmyk(0%, 4.9%, 75.7%, 27.5%)
CIE-LABlab(70.56, -11.33, 63.41)
CIE-LCHlch(70.56, 64.42, 100.13°)
OKLaboklab(74.24% -0.0381 0.1389)
OKLCHoklch(74.24% 0.144 105.3)
XYZxyz(36.0081, 41.5558, 8.6065)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B02D #2D36B9
analogous
#B96A2D #B9B02D #7CB92D
triadic
#B9B02D #2DB9B0 #B02DB9
tetradic
#B9B02D #2DB96A #2D36B9 #B92D7C
square
#B9B02D #2DB96A #2D36B9 #B92D7C
split-complementary
#B9B02D #2D7CB9 #6A2DB9
monochromatic
#575215 #888121 #B9B02D #D4CC4F #E0DA80

Accessibility & contrast

On white

2.26
#B9B02D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B9B02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B02D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B02D#FFFFFF#000000##000000
##B9B02D1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0F
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#C7A497
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b02d;
/* rgb */ color: rgb(185, 176, 45);
/* oklch */ color: oklch(74.2% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#d2c770',
    500: '#b9b02d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b02d;
$custom-light: #d2c770;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b02d",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 45
  },
  "hsl": {
    "h": 56.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74236,
    "c": 0.14405,
    "h": 105.3
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#B9B02D
secondary
#797EC9
accent
#4EE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B02D

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

Preview Lab → · Contrast checker → · Palette generator →

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