#B2B545#B2B545

#B2B545 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.134 H 110.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B2B545
RGBrgb(178, 181, 69)
HSLhsl(62, 45%, 49%)
HSVhsv(62, 62%, 71%)
CMYKcmyk(1.7%, 0%, 61.9%, 29%)
CIE-LABlab(71.52, -15.60, 54.94)
CIE-LCHlch(71.52, 57.11, 105.85°)
OKLaboklab(74.91% -0.0473 0.1253)
OKLCHoklch(74.91% 0.134 110.7)
XYZxyz(35.9592, 42.9433, 12.0237)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B545 #4845B5
analogous
#B58045 #B2B545 #7AB545
triadic
#B2B545 #45B2B5 #B545B2
tetradic
#B2B545 #45B580 #4845B5 #B5457A
square
#B2B545 #45B580 #4845B5 #B5457A
split-complementary
#B2B545 #457AB5 #8045B5
monochromatic
#5B5C23 #868934 #B2B545 #C6C86F #D7D99B

Accessibility & contrast

On white

2.19
#B2B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B2B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B545
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B545#FFFFFF#000000##000000
##B2B5451.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#BEAA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b545;
/* rgb */ color: rgb(178, 181, 69);
/* oklch */ color: oklch(74.9% 0.134 110.7);
Tailwind
colors: {
  custom: {
    50: '#cccb7e',
    500: '#b2b545',
    950: '#000000',
  },
}
SCSS
$custom: #b2b545;
$custom-light: #cccb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b545",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 61.607,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74907,
    "c": 0.13389,
    "h": 110.7
  },
  "luminance": 0.42942
}

Semantic roles & 50–950 ramp

primary
#B2B545
secondary
#9291C5
accent
#53D557
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B545

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

Preview Lab → · Contrast checker → · Palette generator →

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