#B2B92F#B2B92F

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

Color values

HEX#B2B92F
RGBrgb(178, 185, 47)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 75%, 73%)
CMYKcmyk(3.8%, 0%, 74.6%, 27.5%)
CIE-LABlab(72.47, -18.85, 64.32)
CIE-LCHlch(72.47, 67.03, 106.33°)
OKLaboklab(75.63% -0.0586 0.1415)
OKLCHoklch(75.63% 0.153 112.5)
XYZxyz(36.2233, 44.3690, 9.3447)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B92F #362FB9
analogous
#B97B2F #B2B92F #6DB92F
triadic
#B2B92F #2FB2B9 #B92FB2
tetradic
#B2B92F #2FB97B #362FB9 #B92F6D
square
#B2B92F #2FB97B #362FB9 #B92F6D
split-complementary
#B2B92F #2F6DB9 #7B2FB9
monochromatic
#545716 #838823 #B2B92F #CDD352 #DBDF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B92F#FFFFFF#000000##000000
##B2B92F1.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)
#C7B00F
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b92f;
/* rgb */ color: rgb(178, 185, 47);
/* oklch */ color: oklch(75.6% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd72',
    500: '#b2b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b92f;
$custom-light: #cdcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b92f",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 63.043,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75625,
    "c": 0.1531,
    "h": 112.5
  },
  "luminance": 0.44368
}

Semantic roles & 50–950 ramp

primary
#B2B92F
secondary
#7F7BC9
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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