#B2B726#B2B726

#B2B726 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.1% C 0.156 H 111.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#B2B726
RGBrgb(178, 183, 38)
HSLhsl(62, 66%, 43%)
HSVhsv(62, 79%, 72%)
CMYKcmyk(2.7%, 0%, 79.2%, 28.2%)
CIE-LABlab(71.87, -18.20, 66.55)
CIE-LCHlch(71.87, 68.99, 105.30°)
OKLaboklab(75.13% -0.0575 0.1446)
OKLCHoklch(75.13% 0.156 111.7)
XYZxyz(35.6447, 43.4728, 8.3468)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B726 #2B26B7
analogous
#B77326 #B2B726 #69B726
triadic
#B2B726 #26B2B7 #B726B2
tetradic
#B2B726 #26B773 #2B26B7 #B72669
square
#B2B726 #26B773 #2B26B7 #B72669
split-complementary
#B2B726 #2669B7 #7326B7
monochromatic
#4F5211 #81841B #B2B726 #D3D842 #DFE275

Accessibility & contrast

On white

2.17
#B2B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#B2B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B726
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B726#FFFFFF#000000##000000
##B2B7261.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#BFAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b726;
/* rgb */ color: rgb(178, 183, 38);
/* oklch */ color: oklch(75.1% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcc6e',
    500: '#b2b726',
    950: '#000000',
  },
}
SCSS
$custom: #b2b726;
$custom-light: #cdcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b726",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 62.069,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75131,
    "c": 0.15559,
    "h": 111.7
  },
  "luminance": 0.43472
}

Semantic roles & 50–950 ramp

primary
#B2B726
secondary
#726FCA
accent
#3FE945
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B726

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

Preview Lab → · Contrast checker → · Palette generator →

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