#B2B130#B2B130

#B2B130 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.144 H 109.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B2B130
RGBrgb(178, 177, 48)
HSLhsl(60, 58%, 44%)
HSVhsv(60, 73%, 70%)
CMYKcmyk(0%, 0.6%, 73%, 30.2%)
CIE-LABlab(70.26, -14.75, 61.90)
CIE-LCHlch(70.26, 63.63, 103.40°)
OKLaboklab(73.86% -0.047 0.1365)
OKLCHoklch(73.86% 0.144 109)
XYZxyz(34.6170, 41.1237, 8.9099)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B130 #3031B2
analogous
#B27030 #B2B130 #72B230
triadic
#B2B130 #30B2B1 #B130B2
tetradic
#B2B130 #30B270 #3031B2 #B23072
square
#B2B130 #30B270 #3031B2 #B23072
split-complementary
#B2B130 #3072B2 #7030B2
monochromatic
#525116 #828123 #B2B130 #D0CF50 #DDDC80

Accessibility & contrast

On white

2.28
#B2B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B2B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B130
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B130#FFFFFF#000000##000000
##B2B1301.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#C1AE3A
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b130;
/* rgb */ color: rgb(178, 177, 48);
/* oklch */ color: oklch(73.9% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cdc872',
    500: '#b2b130',
    950: '#000000',
  },
}
SCSS
$custom: #b2b130;
$custom-light: #cdc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b130",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 59.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.14439,
    "h": 109
  },
  "luminance": 0.41123
}

Semantic roles & 50–950 ramp

primary
#B2B130
secondary
#7879C6
accent
#48E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B130

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

Preview Lab → · Contrast checker → · Palette generator →

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