#B3B248#B3B248

#B3B248 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.128 H 108.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B3B248
RGBrgb(179, 178, 72)
HSLhsl(59, 43%, 49%)
HSVhsv(59, 60%, 70%)
CMYKcmyk(0%, 0.6%, 59.8%, 29.8%)
CIE-LABlab(70.80, -13.43, 52.87)
CIE-LCHlch(70.80, 54.55, 104.25°)
OKLaboklab(74.36% -0.0409 0.1213)
OKLCHoklch(74.36% 0.128 108.6)
XYZxyz(35.6816, 41.8934, 12.3363)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B248 #4849B3
analogous
#B37D48 #B3B248 #7FB348
triadic
#B3B248 #48B3B2 #B248B3
tetradic
#B3B248 #48B37D #4849B3 #B3487F
square
#B3B248 #48B37D #4849B3 #B3487F
split-complementary
#B3B248 #487FB3 #7D48B3
monochromatic
#5C5B25 #878736 #B3B248 #C6C572 #D8D79E

Accessibility & contrast

On white

2.24
#B3B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B3B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B248
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B248#FFFFFF#000000##000000
##B3B2481.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b248;
/* rgb */ color: rgb(179, 178, 72);
/* oklch */ color: oklch(74.4% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#ccc87f',
    500: '#b3b248',
    950: '#000000',
  },
}
SCSS
$custom: #b3b248;
$custom-light: #ccc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b248",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 59.439,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74361,
    "c": 0.12799,
    "h": 108.6
  },
  "luminance": 0.41892
}

Semantic roles & 50–950 ramp

primary
#B3B248
secondary
#9293C4
accent
#57D255
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B3B248

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

Preview Lab → · Contrast checker → · Palette generator →

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