#B1B834#B1B834

#B1B834 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.149 H 112.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B1B834
RGBrgb(177, 184, 52)
HSLhsl(63, 56%, 46%)
HSVhsv(63, 72%, 72%)
CMYKcmyk(3.8%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.15, -18.54, 62.27)
CIE-LCHlch(72.15, 64.97, 106.58°)
OKLaboklab(75.35% -0.0572 0.138)
OKLCHoklch(75.35% 0.149 112.5)
XYZxyz(35.8929, 43.8769, 9.8265)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B834 #3B34B8
analogous
#B87D34 #B1B834 #6FB834
triadic
#B1B834 #34B1B8 #B834B1
tetradic
#B1B834 #34B87D #3B34B8 #B8346F
square
#B1B834 #34B87D #3B34B8 #B8346F
split-complementary
#B1B834 #346FB8 #7D34B8
monochromatic
#555919 #838827 #B1B834 #CAD059 #D9DE89

Accessibility & contrast

On white

2.15
#B1B834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B1B834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B834
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B834#FFFFFF#000000##000000
##B1B8341.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1C
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b834;
/* rgb */ color: rgb(177, 184, 52);
/* oklch */ color: oklch(75.4% 0.149 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd75',
    500: '#b1b834',
    950: '#000000',
  },
}
SCSS
$custom: #b1b834;
$custom-light: #cccd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b834",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 63.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75352,
    "c": 0.14941,
    "h": 112.5
  },
  "luminance": 0.43876
}

Semantic roles & 50–950 ramp

primary
#B1B834
secondary
#8480C8
accent
#49DF51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B834

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

Preview Lab → · Contrast checker → · Palette generator →

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