#B9B652#B9B652

#B9B652 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.123 H 107.4°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B9B652
RGBrgb(185, 182, 82)
HSLhsl(58, 42%, 52%)
HSVhsv(58, 56%, 73%)
CMYKcmyk(0%, 1.6%, 55.7%, 27.5%)
CIE-LABlab(72.48, -12.21, 50.35)
CIE-LCHlch(72.48, 51.81, 103.63°)
OKLaboklab(75.85% -0.0367 0.117)
OKLCHoklch(75.85% 0.123 107.4)
XYZxyz(38.2596, 44.3805, 14.5319)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B652 #5255B9
analogous
#B98252 #B9B652 #89B952
triadic
#B9B652 #52B9B6 #B652B9
tetradic
#B9B652 #52B982 #5255B9 #B95289
square
#B9B652 #52B982 #5255B9 #B95289
split-complementary
#B9B652 #5289B9 #8252B9
monochromatic
#67652A #93903B #B9B652 #CBC87E #DCDBA9

Accessibility & contrast

On white

2.13
#B9B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B9B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B652
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B652#FFFFFF#000000##000000
##B9B6521.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#C5ABA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b652;
/* rgb */ color: rgb(185, 182, 82);
/* oklch */ color: oklch(75.9% 0.123 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0cb86',
    500: '#b9b652',
    950: '#000000',
  },
}
SCSS
$custom: #b9b652;
$custom-light: #d0cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b652",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 58.252,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75855,
    "c": 0.12263,
    "h": 107.4
  },
  "luminance": 0.44379
}

Semantic roles & 50–950 ramp

primary
#B9B652
secondary
#9D9ECA
accent
#59D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B652

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

Preview Lab → · Contrast checker → · Palette generator →

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