#B2B43D#B2B43D

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

Color values

HEX#B2B43D
RGBrgb(178, 180, 61)
HSLhsl(61, 49%, 47%)
HSVhsv(61, 66%, 71%)
CMYKcmyk(1.1%, 0%, 66.1%, 29.4%)
CIE-LABlab(71.18, -15.60, 57.91)
CIE-LCHlch(71.18, 59.97, 105.07°)
OKLaboklab(74.61% -0.0481 0.1303)
OKLCHoklch(74.61% 0.139 110.3)
XYZxyz(35.5248, 42.4454, 10.7354)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B43D #3F3DB4
analogous
#B47A3D #B2B43D #77B43D
triadic
#B2B43D #3DB2B4 #B43DB2
tetradic
#B2B43D #3DB47A #3F3DB4 #B43D77
square
#B2B43D #3DB47A #3F3DB4 #B43D77
split-complementary
#B2B43D #3D77B4 #7A3DB4
monochromatic
#58591E #85862E #B2B43D #C9CA64 #D9DA92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B43D#FFFFFF#000000##000000
##B2B43D1.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)
#C2AC2C
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#BEA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b43d;
/* rgb */ color: rgb(178, 180, 61);
/* oklch */ color: oklch(74.6% 0.139 110.3);
Tailwind
colors: {
  custom: {
    50: '#ccca79',
    500: '#b2b43d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b43d;
$custom-light: #ccca79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b43d",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 61.008,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74615,
    "c": 0.13893,
    "h": 110.3
  },
  "luminance": 0.42444
}

Semantic roles & 50–950 ramp

primary
#B2B43D
secondary
#8988C5
accent
#4FD951
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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