#B9B62F#B9B62F

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

Color values

HEX#B9B62F
RGBrgb(185, 182, 47)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 75%, 73%)
CMYKcmyk(0%, 1.6%, 74.6%, 27.5%)
CIE-LABlab(72.21, -14.32, 64.28)
CIE-LCHlch(72.21, 65.86, 102.56°)
OKLaboklab(75.55% -0.0463 0.1411)
OKLCHoklch(75.55% 0.149 108.2)
XYZxyz(37.2501, 43.9767, 9.2149)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B62F #2F32B9
analogous
#B9712F #B9B62F #77B92F
triadic
#B9B62F #2FB9B6 #B62FB9
tetradic
#B9B62F #2FB971 #2F32B9 #B92F77
square
#B9B62F #2FB971 #2F32B9 #B92F77
split-complementary
#B9B62F #2F77B9 #712FB9
monochromatic
#575616 #888623 #B9B62F #D3D052 #DFDD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B62F#FFFFFF#000000##000000
##B9B62F1.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)
#C5AF11
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#C7AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b62f;
/* rgb */ color: rgb(185, 182, 47);
/* oklch */ color: oklch(75.6% 0.149 108.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb72',
    500: '#b9b62f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b62f;
$custom-light: #d2cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b62f",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 58.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75554,
    "c": 0.14853,
    "h": 108.2
  },
  "luminance": 0.43975
}

Semantic roles & 50–950 ramp

primary
#B9B62F
secondary
#7B7DC9
accent
#49E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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