#B9B62D#B9B62D

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

Color values

HEX#B9B62D
RGBrgb(185, 182, 45)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 73%)
CMYKcmyk(0%, 1.6%, 75.7%, 27.5%)
CIE-LABlab(72.20, -14.41, 64.93)
CIE-LCHlch(72.20, 66.51, 102.51°)
OKLaboklab(75.54% -0.0467 0.1421)
OKLCHoklch(75.54% 0.15 108.2)
XYZxyz(37.2106, 43.9609, 9.0073)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B62D #2D30B9
analogous
#B9702D #B9B62D #76B92D
triadic
#B9B62D #2DB9B6 #B62DB9
tetradic
#B9B62D #2DB970 #2D30B9 #B92D76
square
#B9B62D #2DB970 #2D30B9 #B92D76
split-complementary
#B9B62D #2D76B9 #702DB9
monochromatic
#575515 #888621 #B9B62D #D4D14F #E0DE80

Accessibility & contrast

On white

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

On black

9.79
#B9B62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B62D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B62D#FFFFFF#000000##000000
##B9B62D1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b62d;
/* rgb */ color: rgb(185, 182, 45);
/* oklch */ color: oklch(75.5% 0.150 108.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb71',
    500: '#b9b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b62d;
$custom-light: #d2cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b62d",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 58.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75542,
    "c": 0.14962,
    "h": 108.2
  },
  "luminance": 0.4396
}

Semantic roles & 50–950 ramp

primary
#B9B62D
secondary
#797BC9
accent
#47E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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