#B2B92D#B2B92D

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

Color values

HEX#B2B92D
RGBrgb(178, 185, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.8%, 0%, 75.7%, 27.5%)
CIE-LABlab(72.46, -18.93, 64.96)
CIE-LCHlch(72.46, 67.67, 106.25°)
OKLaboklab(75.61% -0.059 0.1425)
OKLCHoklch(75.61% 0.154 112.5)
XYZxyz(36.1839, 44.3532, 9.1371)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92D #342DB9
analogous
#B97A2D #B2B92D #6CB92D
triadic
#B2B92D #2DB2B9 #B92DB2
tetradic
#B2B92D #2DB97A #342DB9 #B92D6C
square
#B2B92D #2DB97A #342DB9 #B92D6C
split-complementary
#B2B92D #2D6CB9 #7A2DB9
monochromatic
#535715 #838821 #B2B92D #CED44F #DBE080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B92D#FFFFFF#000000##000000
##B2B92D1.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)
#C7B008
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b92d;
/* rgb */ color: rgb(178, 185, 45);
/* oklch */ color: oklch(75.6% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd71',
    500: '#b2b92d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92d;
$custom-light: #cdcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92d",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 63,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.15418,
    "h": 112.5
  },
  "luminance": 0.44352
}

Semantic roles & 50–950 ramp

primary
#B2B92D
secondary
#7D79C9
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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