#B2B233#B2B233

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

Color values

HEX#B2B233
RGBrgb(178, 178, 51)
HSLhsl(60, 55%, 45%)
HSVhsv(60, 71%, 70%)
CMYKcmyk(0%, 0%, 71.3%, 30.2%)
CIE-LABlab(70.56, -15.12, 61.12)
CIE-LCHlch(70.56, 62.96, 103.90°)
OKLaboklab(74.1% -0.0478 0.1354)
OKLCHoklch(74.1% 0.144 109.4)
XYZxyz(34.8793, 41.5458, 9.3131)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B233 #3333B2
analogous
#B27333 #B2B233 #73B233
triadic
#B2B233 #33B2B2 #B233B2
tetradic
#B2B233 #33B273 #3333B2 #B23373
square
#B2B233 #33B273 #3333B2 #B23373
split-complementary
#B2B233 #3373B2 #7333B2
monochromatic
#535318 #828225 #B2B233 #CECE54 #DCDC84

Accessibility & contrast

On white

2.26
#B2B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B233#FFFFFF#000000##000000
##B2B2331.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1C
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#BFA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b233;
/* rgb */ color: rgb(178, 178, 51);
/* oklch */ color: oklch(74.1% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc873',
    500: '#b2b233',
    950: '#000000',
  },
}
SCSS
$custom: #b2b233;
$custom-light: #ccc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b233",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74098,
    "c": 0.14358,
    "h": 109.4
  },
  "luminance": 0.41545
}

Semantic roles & 50–950 ramp

primary
#B2B233
secondary
#7C7CC5
accent
#49DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B233

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

Preview Lab → · Contrast checker → · Palette generator →

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