#B1B438#B1B438

#B1B438 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.143 H 110.8°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B1B438
RGBrgb(177, 180, 56)
HSLhsl(61, 53%, 46%)
HSVhsv(61, 69%, 71%)
CMYKcmyk(1.7%, 0%, 68.9%, 29.4%)
CIE-LABlab(71.06, -16.31, 59.72)
CIE-LCHlch(71.06, 61.91, 105.27°)
OKLaboklab(74.49% -0.0506 0.1334)
OKLCHoklch(74.49% 0.143 110.8)
XYZxyz(35.1677, 42.2761, 10.0482)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B438 #3B38B4
analogous
#B47938 #B1B438 #73B438
triadic
#B1B438 #38B1B4 #B438B1
tetradic
#B1B438 #38B479 #3B38B4 #B43873
square
#B1B438 #38B479 #3B38B4 #B43873
split-complementary
#B1B438 #3873B4 #7938B4
monochromatic
#55571B #838529 #B1B438 #CACD5D #D9DB8B

Accessibility & contrast

On white

2.22
#B1B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#B1B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B438
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B438#FFFFFF#000000##000000
##B1B4381.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#BDA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b438;
/* rgb */ color: rgb(177, 180, 56);
/* oklch */ color: oklch(74.5% 0.143 110.8);
Tailwind
colors: {
  custom: {
    50: '#ccca76',
    500: '#b1b438',
    950: '#000000',
  },
}
SCSS
$custom: #b1b438;
$custom-light: #ccca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b438",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 61.452,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.14263,
    "h": 110.8
  },
  "luminance": 0.42275
}

Semantic roles & 50–950 ramp

primary
#B1B438
secondary
#8482C5
accent
#4CDC4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B438

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

Preview Lab → · Contrast checker → · Palette generator →

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