#B2B045#B2B045

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

Color values

HEX#B2B045
RGBrgb(178, 176, 69)
HSLhsl(59, 44%, 48%)
HSVhsv(59, 61%, 70%)
CMYKcmyk(0%, 1.1%, 61.2%, 30.2%)
CIE-LABlab(70.14, -13.04, 53.46)
CIE-LCHlch(70.14, 55.02, 103.71°)
OKLaboklab(73.81% -0.0401 0.1221)
OKLCHoklch(73.81% 0.129 108.2)
XYZxyz(34.9607, 40.9463, 11.6909)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B045 #4547B2
analogous
#B27945 #B2B045 #7DB245
triadic
#B2B045 #45B2B0 #B045B2
tetradic
#B2B045 #45B279 #4547B2 #B2457D
square
#B2B045 #45B279 #4547B2 #B2457D
split-complementary
#B2B045 #457DB2 #7945B2
monochromatic
#5A5923 #868434 #B2B045 #C7C56E #D8D79A

Accessibility & contrast

On white

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

On black

9.19
#B2B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B045
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B045#FFFFFF#000000##000000
##B2B0451.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b045;
/* rgb */ color: rgb(178, 176, 69);
/* oklch */ color: oklch(73.8% 0.129 108.2);
Tailwind
colors: {
  custom: {
    50: '#ccc77d',
    500: '#b2b045',
    950: '#000000',
  },
}
SCSS
$custom: #b2b045;
$custom-light: #ccc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b045",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 58.899,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73807,
    "c": 0.12852,
    "h": 108.2
  },
  "luminance": 0.40945
}

Semantic roles & 50–950 ramp

primary
#B2B045
secondary
#8F90C4
accent
#56D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B045

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

Preview Lab → · Contrast checker → · Palette generator →

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