#B9C052#B9C052

#B9C052 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.134 H 112.5°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B9C052
RGBrgb(185, 192, 82)
HSLhsl(64, 47%, 54%)
HSVhsv(64, 57%, 75%)
CMYKcmyk(3.6%, 0%, 57.3%, 24.7%)
CIE-LABlab(75.22, -17.29, 53.43)
CIE-LCHlch(75.22, 56.16, 107.94°)
OKLaboklab(78.04% -0.0511 0.1236)
OKLCHoklch(78.04% 0.134 112.5)
XYZxyz(40.3812, 48.6236, 15.2391)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C052 #5952C0
analogous
#C09052 #B9C052 #82C052
triadic
#B9C052 #52B9C0 #C052B9
tetradic
#B9C052 #52C090 #5952C0 #C05282
square
#B9C052 #52C090 #5952C0 #C05282
split-complementary
#B9C052 #5282C0 #9052C0
monochromatic
#6B6F28 #969C39 #B9C052 #CBD07F #DDE1AC

Accessibility & contrast

On white

1.96
#B9C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#B9C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C052
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C052#FFFFFF#000000##000000
##B9C0521.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CDBB58
Tritanopia (blue-blind)
#C4B6A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c052;
/* rgb */ color: rgb(185, 192, 82);
/* oklch */ color: oklch(78.0% 0.134 112.5);
Tailwind
colors: {
  custom: {
    50: '#d0d287',
    500: '#b9c052',
    950: '#000000',
  },
}
SCSS
$custom: #b9c052;
$custom-light: #d0d287;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c052",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 63.818,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78037,
    "c": 0.13376,
    "h": 112.5
  },
  "luminance": 0.48623
}

Semantic roles & 50–950 ramp

primary
#B9C052
secondary
#A29FCE
accent
#52D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B9C052

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

Preview Lab → · Contrast checker → · Palette generator →

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