#B1B236#B1B236

#B1B236 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.142 H 109.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B1B236
RGBrgb(177, 178, 54)
HSLhsl(60, 53%, 45%)
HSVhsv(60, 70%, 70%)
CMYKcmyk(0.6%, 0%, 69.7%, 30.2%)
CIE-LABlab(70.49, -15.40, 59.92)
CIE-LCHlch(70.49, 61.87, 104.41°)
OKLaboklab(74.03% -0.0482 0.1334)
OKLCHoklch(74.03% 0.142 109.9)
XYZxyz(34.7189, 41.4552, 9.6621)
Luminance0.4145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B236 #3736B2
analogous
#B27536 #B1B236 #73B236
triadic
#B1B236 #36B1B2 #B236B1
tetradic
#B1B236 #36B275 #3736B2 #B23673
square
#B1B236 #36B275 #3736B2 #B23673
split-complementary
#B1B236 #3673B2 #7536B2
monochromatic
#54541A #828328 #B1B236 #CCCD59 #DADB88

Accessibility & contrast

On white

2.26
#B1B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B1B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B236
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B236#FFFFFF#000000##000000
##B1B2361.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#BDA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b236;
/* rgb */ color: rgb(177, 178, 54);
/* oklch */ color: oklch(74.0% 0.142 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc875',
    500: '#b1b236',
    950: '#000000',
  },
}
SCSS
$custom: #b1b236;
$custom-light: #ccc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b236",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 60.484,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.14188,
    "h": 109.9
  },
  "luminance": 0.41454
}

Semantic roles & 50–950 ramp

primary
#B1B236
secondary
#807FC5
accent
#4BDD4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B236

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

Preview Lab → · Contrast checker → · Palette generator →

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