#B9B235#B9B235

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

Color values

HEX#B9B235
RGBrgb(185, 178, 53)
HSLhsl(57, 55%, 47%)
HSVhsv(57, 71%, 73%)
CMYKcmyk(0%, 3.8%, 71.4%, 27.5%)
CIE-LABlab(71.16, -12.00, 61.17)
CIE-LCHlch(71.16, 62.33, 101.10°)
OKLaboklab(74.72% -0.0392 0.1356)
OKLCHoklch(74.72% 0.141 106.1)
XYZxyz(36.5720, 42.4134, 9.6276)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B235 #353CB9
analogous
#B97035 #B9B235 #7EB935
triadic
#B9B235 #35B9B2 #B235B9
tetradic
#B9B235 #35B970 #353CB9 #B9357E
square
#B9B235 #35B970 #353CB9 #B9357E
split-complementary
#B9B235 #357EB9 #7035B9
monochromatic
#5A561A #898427 #B9B235 #D0CA5B #DED98B

Accessibility & contrast

On white

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

On black

9.48
#B9B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B235
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B235#FFFFFF#000000##000000
##B9B2351.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b235;
/* rgb */ color: rgb(185, 178, 53);
/* oklch */ color: oklch(74.7% 0.141 106.1);
Tailwind
colors: {
  custom: {
    50: '#d2c875',
    500: '#b9b235',
    950: '#000000',
  },
}
SCSS
$custom: #b9b235;
$custom-light: #d2c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b235",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 56.818,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74722,
    "c": 0.14118,
    "h": 106.1
  },
  "luminance": 0.42412
}

Semantic roles & 50–950 ramp

primary
#B9B235
secondary
#8286C8
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B235

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

Preview Lab → · Contrast checker → · Palette generator →

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