#B2B452#B2B452

#B2B452 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.121 H 110.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B2B452
RGBrgb(178, 180, 82)
HSLhsl(61, 40%, 51%)
HSVhsv(61, 54%, 71%)
CMYKcmyk(1.1%, 0%, 54.4%, 29.4%)
CIE-LABlab(71.36, -14.11, 48.92)
CIE-LCHlch(71.36, 50.91, 106.09°)
OKLaboklab(74.82% -0.0417 0.1141)
OKLCHoklch(74.82% 0.121 110.1)
XYZxyz(36.2052, 42.7175, 14.3191)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B452 #5452B4
analogous
#B48552 #B2B452 #81B452
triadic
#B2B452 #52B2B4 #B452B2
tetradic
#B2B452 #52B485 #5452B4 #B45281
square
#B2B452 #52B485 #5452B4 #B45281
split-complementary
#B2B452 #5281B4 #8552B4
monochromatic
#60612A #8A8C3D #B2B452 #C5C77D #D8D9A7

Accessibility & contrast

On white

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

On black

9.54
#B2B452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B452
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B452#FFFFFF#000000##000000
##B2B4521.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C2B057
Tritanopia (blue-blind)
#BDAA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b452;
/* rgb */ color: rgb(178, 180, 82);
/* oklch */ color: oklch(74.8% 0.121 110.1);
Tailwind
colors: {
  custom: {
    50: '#cbca86',
    500: '#b2b452',
    950: '#000000',
  },
}
SCSS
$custom: #b2b452;
$custom-light: #cbca86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b452",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 61.224,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74824,
    "c": 0.12146,
    "h": 110.1
  },
  "luminance": 0.42717
}

Semantic roles & 50–950 ramp

primary
#B2B452
secondary
#9C9BC7
accent
#58CF5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B452

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

Preview Lab → · Contrast checker → · Palette generator →

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