#B2B92A#B2B92A

#B2B92A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.156 H 112.5°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B2B92A
RGBrgb(178, 185, 42)
HSLhsl(63, 63%, 45%)
HSVhsv(63, 77%, 73%)
CMYKcmyk(3.8%, 0%, 77.3%, 27.5%)
CIE-LABlab(72.45, -19.05, 65.88)
CIE-LCHlch(72.45, 68.58, 106.13°)
OKLaboklab(75.6% -0.0596 0.1439)
OKLCHoklch(75.6% 0.156 112.5)
XYZxyz(36.1282, 44.3309, 8.8436)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92A #312AB9
analogous
#B9792A #B2B92A #6BB92A
triadic
#B2B92A #2AB2B9 #B92AB2
tetradic
#B2B92A #2AB979 #312AB9 #B92A6B
square
#B2B92A #2AB979 #312AB9 #B92A6B
split-complementary
#B2B92A #2A6BB9 #792AB9
monochromatic
#525513 #82871F #B2B92A #CFD64A #DCE17C

Accessibility & contrast

On white

2.13
#B2B92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B2B92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B92A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B92A#FFFFFF#000000##000000
##B2B92A1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b92a;
/* rgb */ color: rgb(178, 185, 42);
/* oklch */ color: oklch(75.6% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd70',
    500: '#b2b92a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92a;
$custom-light: #cdcd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92a",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 62.937,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75597,
    "c": 0.15573,
    "h": 112.5
  },
  "luminance": 0.4433
}

Semantic roles & 50–950 ramp

primary
#B2B92A
secondary
#7975CA
accent
#42E64A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B92A

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

Preview Lab → · Contrast checker → · Palette generator →

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