#B2B248#B2B248

#B2B248 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.128 H 109.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B2B248
RGBrgb(178, 178, 72)
HSLhsl(60, 42%, 49%)
HSVhsv(60, 60%, 70%)
CMYKcmyk(0%, 0%, 59.6%, 30.2%)
CIE-LABlab(70.72, -13.86, 52.76)
CIE-LCHlch(70.72, 54.55, 104.72°)
OKLaboklab(74.28% -0.042 0.1211)
OKLCHoklch(74.28% 0.128 109.2)
XYZxyz(35.4512, 41.7746, 12.3255)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B248 #4848B2
analogous
#B27D48 #B2B248 #7DB248
triadic
#B2B248 #48B2B2 #B248B2
tetradic
#B2B248 #48B27D #4848B2 #B2487D
square
#B2B248 #48B27D #4848B2 #B2487D
split-complementary
#B2B248 #487DB2 #7D48B2
monochromatic
#5B5B25 #868636 #B2B248 #C6C671 #D7D79D

Accessibility & contrast

On white

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

On black

9.35
#B2B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B248
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B248#FFFFFF#000000##000000
##B2B2481.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b248;
/* rgb */ color: rgb(178, 178, 72);
/* oklch */ color: oklch(74.3% 0.128 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc87f',
    500: '#b2b248',
    950: '#000000',
  },
}
SCSS
$custom: #b2b248;
$custom-light: #ccc87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b248",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.12816,
    "h": 109.2
  },
  "luminance": 0.41774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B248

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

Preview Lab → · Contrast checker → · Palette generator →

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