#B2B530#B2B530

#B2B530 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.148 H 110.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B2B530
RGBrgb(178, 181, 48)
HSLhsl(61, 58%, 45%)
HSVhsv(61, 73%, 71%)
CMYKcmyk(1.7%, 0%, 73.5%, 29%)
CIE-LABlab(71.37, -16.79, 62.95)
CIE-LCHlch(71.37, 65.15, 104.93°)
OKLaboklab(74.74% -0.0527 0.1387)
OKLCHoklch(74.74% 0.148 110.8)
XYZxyz(35.4187, 42.7271, 9.1771)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B530 #3330B5
analogous
#B57530 #B2B530 #70B530
triadic
#B2B530 #30B2B5 #B530B2
tetradic
#B2B530 #30B575 #3330B5 #B53070
square
#B2B530 #30B575 #3330B5 #B53070
split-complementary
#B2B530 #3070B5 #7530B5
monochromatic
#535416 #828523 #B2B530 #CED151 #DCDE82

Accessibility & contrast

On white

2.20
#B2B530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B2B530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B530
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B530#FFFFFF#000000##000000
##B2B5301.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD14
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b530;
/* rgb */ color: rgb(178, 181, 48);
/* oklch */ color: oklch(74.7% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#cdca72',
    500: '#b2b530',
    950: '#000000',
  },
}
SCSS
$custom: #b2b530;
$custom-light: #cdca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b530",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 48
  },
  "hsl": {
    "h": 61.353,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.14842,
    "h": 110.8
  },
  "luminance": 0.42726
}

Semantic roles & 50–950 ramp

primary
#B2B530
secondary
#7C7AC7
accent
#46E14A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B530

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

Preview Lab → · Contrast checker → · Palette generator →

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