#B2B145#B2B145

#B2B145 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.130 H 108.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B2B145
RGBrgb(178, 177, 69)
HSLhsl(59, 44%, 48%)
HSVhsv(59, 61%, 70%)
CMYKcmyk(0%, 0.6%, 61.2%, 30.2%)
CIE-LABlab(70.41, -13.55, 53.75)
CIE-LCHlch(70.41, 55.43, 104.15°)
OKLaboklab(74.03% -0.0415 0.1228)
OKLCHoklch(74.03% 0.13 108.7)
XYZxyz(35.1575, 41.3399, 11.7565)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B145 #4546B2
analogous
#B27A45 #B2B145 #7CB245
triadic
#B2B145 #45B2B1 #B145B2
tetradic
#B2B145 #45B27A #4546B2 #B2457C
square
#B2B145 #45B27A #4546B2 #B2457C
split-complementary
#B2B145 #457CB2 #7A45B2
monochromatic
#5A5923 #868534 #B2B145 #C7C66E #D8D79A

Accessibility & contrast

On white

2.27
#B2B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B2B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B145
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B145#FFFFFF#000000##000000
##B2B1451.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#BEA69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b145;
/* rgb */ color: rgb(178, 177, 69);
/* oklch */ color: oklch(74.0% 0.130 108.7);
Tailwind
colors: {
  custom: {
    50: '#ccc87d',
    500: '#b2b145',
    950: '#000000',
  },
}
SCSS
$custom: #b2b145;
$custom-light: #ccc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b145",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 59.45,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74027,
    "c": 0.12958,
    "h": 108.7
  },
  "luminance": 0.41339
}

Semantic roles & 50–950 ramp

primary
#B2B145
secondary
#8F8FC4
accent
#55D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B145

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

Preview Lab → · Contrast checker → · Palette generator →

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