#B9B237#B9B237

#B9B237 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.140 H 106.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B9B237
RGBrgb(185, 178, 55)
HSLhsl(57, 54%, 47%)
HSVhsv(57, 70%, 73%)
CMYKcmyk(0%, 3.8%, 70.3%, 27.5%)
CIE-LABlab(71.17, -11.90, 60.43)
CIE-LCHlch(71.17, 61.59, 101.14°)
OKLaboklab(74.74% -0.0387 0.1344)
OKLCHoklch(74.74% 0.14 106.1)
XYZxyz(36.6190, 42.4322, 9.8750)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B237 #373EB9
analogous
#B97137 #B9B237 #7FB937
triadic
#B9B237 #37B9B2 #B237B9
tetradic
#B9B237 #37B971 #373EB9 #B9377F
square
#B9B237 #37B971 #373EB9 #B9377F
split-complementary
#B9B237 #377FB9 #7137B9
monochromatic
#5B571B #8A8529 #B9B237 #CFC95E #DDD98D

Accessibility & contrast

On white

2.21
#B9B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B9B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B237
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B237#FFFFFF#000000##000000
##B9B2371.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB23
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#C7A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b237;
/* rgb */ color: rgb(185, 178, 55);
/* oklch */ color: oklch(74.7% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1c876',
    500: '#b9b237',
    950: '#000000',
  },
}
SCSS
$custom: #b9b237;
$custom-light: #d1c876;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b237",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 56.769,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.13989,
    "h": 106.1
  },
  "luminance": 0.42431
}

Semantic roles & 50–950 ramp

primary
#B9B237
secondary
#8488C8
accent
#52DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B237

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

Preview Lab → · Contrast checker → · Palette generator →

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