#B2B830#B2B830

#B2B830 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.151 H 112.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#B2B830
RGBrgb(178, 184, 48)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.3%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.20, -18.30, 63.73)
CIE-LCHlch(72.20, 66.31, 106.02°)
OKLaboklab(75.41% -0.0569 0.1404)
OKLCHoklch(75.41% 0.152 112.1)
XYZxyz(36.0353, 43.9602, 9.3827)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B830 #3630B8
analogous
#B87A30 #B2B830 #6EB830
triadic
#B2B830 #30B2B8 #B830B2
tetradic
#B2B830 #30B87A #3630B8 #B8306E
square
#B2B830 #30B87A #3630B8 #B8306E
split-complementary
#B2B830 #306EB8 #7A30B8
monochromatic
#545717 #838723 #B2B830 #CDD253 #DBDF84

Accessibility & contrast

On white

2.14
#B2B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#B2B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B830
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B830#FFFFFF#000000##000000
##B2B8301.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b830;
/* rgb */ color: rgb(178, 184, 48);
/* oklch */ color: oklch(75.4% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd73',
    500: '#b2b830',
    950: '#000000',
  },
}
SCSS
$custom: #b2b830;
$custom-light: #cdcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b830",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 62.647,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75408,
    "c": 0.1515,
    "h": 112.1
  },
  "luminance": 0.43959
}

Semantic roles & 50–950 ramp

primary
#B2B830
secondary
#7F7CC8
accent
#46E24D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B830

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

Preview Lab → · Contrast checker → · Palette generator →

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