#B2B92B#B2B92B

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

Color values

HEX#B2B92B
RGBrgb(178, 185, 43)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 77%, 73%)
CMYKcmyk(3.8%, 0%, 76.8%, 27.5%)
CIE-LABlab(72.45, -19.01, 65.58)
CIE-LCHlch(72.45, 68.28, 106.17°)
OKLaboklab(75.6% -0.0594 0.1434)
OKLCHoklch(75.6% 0.155 112.5)
XYZxyz(36.1463, 44.3382, 8.9391)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92B #322BB9
analogous
#B9792B #B2B92B #6BB92B
triadic
#B2B92B #2BB2B9 #B92BB2
tetradic
#B2B92B #2BB979 #322BB9 #B92B6B
square
#B2B92B #2BB979 #322BB9 #B92B6B
split-complementary
#B2B92B #2B6BB9 #792BB9
monochromatic
#525614 #82871F #B2B92B #CFD54C #DCE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B92B#FFFFFF#000000##000000
##B2B92B1.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)
#C7B001
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b92b;
/* rgb */ color: rgb(178, 185, 43);
/* oklch */ color: oklch(75.6% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd70',
    500: '#b2b92b',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92b;
$custom-light: #cdcd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92b",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 62.958,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75602,
    "c": 0.15522,
    "h": 112.5
  },
  "luminance": 0.44337
}

Semantic roles & 50–950 ramp

primary
#B2B92B
secondary
#7B76C9
accent
#42E54A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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