#B2B236#B2B236

#B2B236 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.1% C 0.142 H 109.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B2B236
RGBrgb(178, 178, 54)
HSLhsl(60, 53%, 45%)
HSVhsv(60, 70%, 70%)
CMYKcmyk(0%, 0%, 69.7%, 30.2%)
CIE-LABlab(70.58, -14.97, 60.03)
CIE-LCHlch(70.58, 61.87, 104.00°)
OKLaboklab(74.12% -0.0471 0.1336)
OKLCHoklch(74.12% 0.142 109.4)
XYZxyz(34.9476, 41.5731, 9.6728)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B236 #3636B2
analogous
#B27436 #B2B236 #74B236
triadic
#B2B236 #36B2B2 #B236B2
tetradic
#B2B236 #36B274 #3636B2 #B23674
square
#B2B236 #36B274 #3636B2 #B23674
split-complementary
#B2B236 #3674B2 #7436B2
monochromatic
#54541A #838328 #B2B236 #CDCD59 #DBDB88

Accessibility & contrast

On white

2.25
#B2B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#B2B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B236
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B236#FFFFFF#000000##000000
##B2B2361.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB22
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#BFA79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b236;
/* rgb */ color: rgb(178, 178, 54);
/* oklch */ color: oklch(74.1% 0.142 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc875',
    500: '#b2b236',
    950: '#000000',
  },
}
SCSS
$custom: #b2b236;
$custom-light: #ccc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b236",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7412,
    "c": 0.14167,
    "h": 109.4
  },
  "luminance": 0.41572
}

Semantic roles & 50–950 ramp

primary
#B2B236
secondary
#7F7FC5
accent
#4BDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B236

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

Preview Lab → · Contrast checker → · Palette generator →

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