#B2B43C#B2B43C

#B2B43C is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.140 H 110.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B2B43C
RGBrgb(178, 180, 60)
HSLhsl(61, 50%, 47%)
HSVhsv(61, 67%, 71%)
CMYKcmyk(1.1%, 0%, 66.7%, 29.4%)
CIE-LABlab(71.17, -15.66, 58.30)
CIE-LCHlch(71.17, 60.37, 105.03°)
OKLaboklab(74.61% -0.0484 0.131)
OKLCHoklch(74.61% 0.14 110.3)
XYZxyz(35.4981, 42.4347, 10.5949)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B43C #3E3CB4
analogous
#B47A3C #B2B43C #76B43C
triadic
#B2B43C #3CB2B4 #B43CB2
tetradic
#B2B43C #3CB47A #3E3CB4 #B43C76
square
#B2B43C #3CB47A #3E3CB4 #B43C76
split-complementary
#B2B43C #3C76B4 #7A3CB4
monochromatic
#57581D #85862D #B2B43C #C9CB62 #D9DA90

Accessibility & contrast

On white

2.21
#B2B43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B2B43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B43C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B43C#FFFFFF#000000##000000
##B2B43C1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2B
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#BEA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b43c;
/* rgb */ color: rgb(178, 180, 60);
/* oklch */ color: oklch(74.6% 0.140 110.3);
Tailwind
colors: {
  custom: {
    50: '#ccca78',
    500: '#b2b43c',
    950: '#000000',
  },
}
SCSS
$custom: #b2b43c;
$custom-light: #ccca78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b43c",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 61,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.13965,
    "h": 110.3
  },
  "luminance": 0.42434
}

Semantic roles & 50–950 ramp

primary
#B2B43C
secondary
#8887C5
accent
#4EDA51
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B43C

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

Preview Lab → · Contrast checker → · Palette generator →

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