#B2B650#B2B650

#B2B650 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.126 H 111.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B2B650
RGBrgb(178, 182, 80)
HSLhsl(62, 41%, 51%)
HSVhsv(62, 56%, 71%)
CMYKcmyk(2.2%, 0%, 56%, 28.6%)
CIE-LABlab(71.89, -15.30, 50.45)
CIE-LCHlch(71.89, 52.72, 106.87°)
OKLaboklab(75.24% -0.0453 0.1171)
OKLCHoklch(75.24% 0.126 111.1)
XYZxyz(36.5369, 43.5009, 14.0597)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B650 #5450B6
analogous
#B68750 #B2B650 #7FB650
triadic
#B2B650 #50B2B6 #B650B2
tetradic
#B2B650 #50B687 #5450B6 #B6507F
square
#B2B650 #50B687 #5450B6 #B6507F
split-complementary
#B2B650 #507FB6 #8750B6
monochromatic
#606329 #8A8E3B #B2B650 #C5C87B #D8DAA6

Accessibility & contrast

On white

2.16
#B2B650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B2B650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B650
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B650#FFFFFF#000000##000000
##B2B6501.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF45
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#BDACA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b650;
/* rgb */ color: rgb(178, 182, 80);
/* oklch */ color: oklch(75.2% 0.126 111.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb85',
    500: '#b2b650',
    950: '#000000',
  },
}
SCSS
$custom: #b2b650;
$custom-light: #cbcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b650",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 80
  },
  "hsl": {
    "h": 62.353,
    "s": 41.129,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75241,
    "c": 0.12558,
    "h": 111.1
  },
  "luminance": 0.435
}

Semantic roles & 50–950 ramp

primary
#B2B650
secondary
#9C9AC7
accent
#57D15C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B650

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

Preview Lab → · Contrast checker → · Palette generator →

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