#B2B92E#B2B92E

#B2B92E 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#B2B92E
RGBrgb(178, 185, 46)
HSLhsl(63, 60%, 45%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.8%, 0%, 75.1%, 27.5%)
CIE-LABlab(72.47, -18.89, 64.65)
CIE-LCHlch(72.47, 67.35, 106.29°)
OKLaboklab(75.62% -0.0588 0.142)
OKLCHoklch(75.62% 0.154 112.5)
XYZxyz(36.2034, 44.3610, 9.2397)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92E #352EB9
analogous
#B97B2E #B2B92E #6CB92E
triadic
#B2B92E #2EB2B9 #B92EB2
tetradic
#B2B92E #2EB97B #352EB9 #B92E6C
square
#B2B92E #2EB97B #352EB9 #B92E6C
split-complementary
#B2B92E #2E6CB9 #7B2EB9
monochromatic
#545716 #838822 #B2B92E #CDD451 #DBE082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B92E#FFFFFF#000000##000000
##B2B92E1.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)
#C7B00C
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b92e;
/* rgb */ color: rgb(178, 185, 46);
/* oklch */ color: oklch(75.6% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd72',
    500: '#b2b92e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92e;
$custom-light: #cdcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92e",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 46
  },
  "hsl": {
    "h": 63.022,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75619,
    "c": 0.15365,
    "h": 112.5
  },
  "luminance": 0.4436
}

Semantic roles & 50–950 ramp

primary
#B2B92E
secondary
#7E7AC9
accent
#44E34C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B92E

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

Preview Lab → · Contrast checker → · Palette generator →

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