#B2B043#B2B043

#B2B043 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.130 H 108.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B2B043
RGBrgb(178, 176, 67)
HSLhsl(59, 45%, 48%)
HSVhsv(59, 62%, 70%)
CMYKcmyk(0%, 1.1%, 62.4%, 30.2%)
CIE-LABlab(70.12, -13.17, 54.31)
CIE-LCHlch(70.12, 55.88, 103.63°)
OKLaboklab(73.79% -0.0407 0.1236)
OKLCHoklch(73.79% 0.13 108.2)
XYZxyz(34.8997, 40.9219, 11.3694)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B043 #4345B2
analogous
#B27843 #B2B043 #7CB243
triadic
#B2B043 #43B2B0 #B043B2
tetradic
#B2B043 #43B278 #4345B2 #B2437C
square
#B2B043 #43B278 #4345B2 #B2437C
split-complementary
#B2B043 #437CB2 #7843B2
monochromatic
#595822 #868432 #B2B043 #C7C66B #D8D797

Accessibility & contrast

On white

2.29
#B2B043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#B2B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B043
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B043#FFFFFF#000000##000000
##B2B0431.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA936
Deuteranopia (green-blind)
#C0AD4A
Tritanopia (blue-blind)
#BEA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b043;
/* rgb */ color: rgb(178, 176, 67);
/* oklch */ color: oklch(73.8% 0.130 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc77c',
    500: '#b2b043',
    950: '#000000',
  },
}
SCSS
$custom: #b2b043;
$custom-light: #ccc77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b043",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 58.919,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.13014,
    "h": 108.2
  },
  "luminance": 0.40921
}

Semantic roles & 50–950 ramp

primary
#B2B043
secondary
#8D8EC4
accent
#55D553
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B043

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

Preview Lab → · Contrast checker → · Palette generator →

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