#B2B234#B2B234

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

Color values

HEX#B2B234
RGBrgb(178, 178, 52)
HSLhsl(60, 55%, 45%)
HSVhsv(60, 71%, 70%)
CMYKcmyk(0%, 0%, 70.8%, 30.2%)
CIE-LABlab(70.56, -15.07, 60.76)
CIE-LCHlch(70.56, 62.60, 103.93°)
OKLaboklab(74.11% -0.0476 0.1348)
OKLCHoklch(74.11% 0.143 109.4)
XYZxyz(34.9016, 41.5547, 9.4305)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B234 #3434B2
analogous
#B27334 #B2B234 #73B234
triadic
#B2B234 #34B2B2 #B234B2
tetradic
#B2B234 #34B273 #3434B2 #B23473
square
#B2B234 #34B273 #3434B2 #B23473
split-complementary
#B2B234 #3473B2 #7334B2
monochromatic
#535318 #838326 #B2B234 #CECE56 #DBDB85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B234#FFFFFF#000000##000000
##B2B2341.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)
#C0AA1E
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#BFA799
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b234;
/* rgb */ color: rgb(178, 178, 52);
/* oklch */ color: oklch(74.1% 0.143 109.4);
Tailwind
colors: {
  custom: {
    50: '#ccc874',
    500: '#b2b234',
    950: '#000000',
  },
}
SCSS
$custom: #b2b234;
$custom-light: #ccc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b234",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74105,
    "c": 0.14295,
    "h": 109.4
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#B2B234
secondary
#7D7DC5
accent
#4ADE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B234

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

Preview Lab → · Contrast checker → · Palette generator →

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