#B2B92C#B2B92C

#B2B92C 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#B2B92C
RGBrgb(178, 185, 44)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.8%, 0%, 76.2%, 27.5%)
CIE-LABlab(72.46, -18.97, 65.28)
CIE-LCHlch(72.46, 67.98, 106.21°)
OKLaboklab(75.61% -0.0592 0.143)
OKLCHoklch(75.61% 0.155 112.5)
XYZxyz(36.1649, 44.3456, 9.0369)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92C #332CB9
analogous
#B97A2C #B2B92C #6BB92C
triadic
#B2B92C #2CB2B9 #B92CB2
tetradic
#B2B92C #2CB97A #332CB9 #B92C6B
square
#B2B92C #2CB97A #332CB9 #B92C6B
split-complementary
#B2B92C #2C6BB9 #7A2CB9
monochromatic
#535614 #828820 #B2B92C #CED54D #DCE17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b2b92c;
/* rgb */ color: rgb(178, 185, 44);
/* oklch */ color: oklch(75.6% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd71',
    500: '#b2b92c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92c;
$custom-light: #cdcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92c",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 62.979,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.15471,
    "h": 112.5
  },
  "luminance": 0.44345
}

Semantic roles & 50–950 ramp

primary
#B2B92C
secondary
#7C78C9
accent
#43E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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