#B2B633#B2B633

#B2B633 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.148 H 111.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B2B633
RGBrgb(178, 182, 51)
HSLhsl(62, 56%, 46%)
HSVhsv(62, 72%, 71%)
CMYKcmyk(2.2%, 0%, 72%, 28.6%)
CIE-LABlab(71.66, -17.15, 62.18)
CIE-LCHlch(71.66, 64.51, 105.42°)
OKLaboklab(74.98% -0.0535 0.1377)
OKLCHoklch(74.98% 0.148 111.2)
XYZxyz(35.6868, 43.1608, 9.5823)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B633 #3733B6
analogous
#B67833 #B2B633 #70B633
triadic
#B2B633 #33B2B6 #B633B2
tetradic
#B2B633 #33B678 #3733B6 #B63370
square
#B2B633 #33B678 #3733B6 #B63370
split-complementary
#B2B633 #3370B6 #7833B6
monochromatic
#545618 #838626 #B2B633 #CCD056 #DBDD86

Accessibility & contrast

On white

2.18
#B2B633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B2B633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B633
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B633#FFFFFF#000000##000000
##B2B6331.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1A
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#BEAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b633;
/* rgb */ color: rgb(178, 182, 51);
/* oklch */ color: oklch(75.0% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb74',
    500: '#b2b633',
    950: '#000000',
  },
}
SCSS
$custom: #b2b633;
$custom-light: #cccb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b633",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 51
  },
  "hsl": {
    "h": 61.832,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74983,
    "c": 0.14767,
    "h": 111.2
  },
  "luminance": 0.4316
}

Semantic roles & 50–950 ramp

primary
#B2B633
secondary
#807EC7
accent
#48E04D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B633

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

Preview Lab → · Contrast checker → · Palette generator →

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