#B1B248#B1B248

#B1B248 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.128 H 109.7°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B1B248
RGBrgb(177, 178, 72)
HSLhsl(61, 42%, 49%)
HSVhsv(61, 60%, 70%)
CMYKcmyk(0.6%, 0%, 59.6%, 30.2%)
CIE-LABlab(70.63, -14.28, 52.65)
CIE-LCHlch(70.63, 54.55, 105.18°)
OKLaboklab(74.19% -0.0432 0.1208)
OKLCHoklch(74.19% 0.128 109.7)
XYZxyz(35.2226, 41.6567, 12.3148)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B248 #4948B2
analogous
#B27E48 #B1B248 #7CB248
triadic
#B1B248 #48B1B2 #B248B1
tetradic
#B1B248 #48B27E #4948B2 #B2487C
square
#B1B248 #48B27E #4948B2 #B2487C
split-complementary
#B1B248 #487CB2 #7E48B2
monochromatic
#5A5B25 #868636 #B1B248 #C5C671 #D7D79D

Accessibility & contrast

On white

2.25
#B1B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B1B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B248
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B248#FFFFFF#000000##000000
##B1B2481.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3C
Deuteranopia (green-blind)
#C0AE4E
Tritanopia (blue-blind)
#BDA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b248;
/* rgb */ color: rgb(177, 178, 72);
/* oklch */ color: oklch(74.2% 0.128 109.7);
Tailwind
colors: {
  custom: {
    50: '#cbc87f',
    500: '#b1b248',
    950: '#000000',
  },
}
SCSS
$custom: #b1b248;
$custom-light: #cbc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b248",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 60.566,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.12832,
    "h": 109.7
  },
  "luminance": 0.41656
}

Semantic roles & 50–950 ramp

primary
#B1B248
secondary
#9292C4
accent
#56D257
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B248

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

Preview Lab → · Contrast checker → · Palette generator →

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