#B2B53A#B2B53A

#B2B53A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.142 H 110.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B2B53A
RGBrgb(178, 181, 58)
HSLhsl(61, 51%, 47%)
HSVhsv(61, 68%, 71%)
CMYKcmyk(1.7%, 0%, 68%, 29%)
CIE-LABlab(71.43, -16.28, 59.35)
CIE-LCHlch(71.43, 61.55, 105.34°)
OKLaboklab(74.81% -0.0504 0.1329)
OKLCHoklch(74.81% 0.142 110.8)
XYZxyz(35.6488, 42.8191, 10.3892)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B53A #3D3AB5
analogous
#B57A3A #B2B53A #75B53A
triadic
#B2B53A #3AB2B5 #B53AB2
tetradic
#B2B53A #3AB57A #3D3AB5 #B53A75
square
#B2B53A #3AB57A #3D3AB5 #B53A75
split-complementary
#B2B53A #3A75B5 #7A3AB5
monochromatic
#57581C #84872B #B2B53A #C9CC60 #D9DB8E

Accessibility & contrast

On white

2.20
#B2B53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B2B53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B53A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B53A#FFFFFF#000000##000000
##B2B53A1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b53a;
/* rgb */ color: rgb(178, 181, 58);
/* oklch */ color: oklch(74.8% 0.142 110.8);
Tailwind
colors: {
  custom: {
    50: '#cccb77',
    500: '#b2b53a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b53a;
$custom-light: #cccb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b53a",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 61.463,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.1421,
    "h": 110.8
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#B2B53A
secondary
#8785C6
accent
#4DDB50
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B53A

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

Preview Lab → · Contrast checker → · Palette generator →

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