#B2B035#B2B035

#B2B035 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.140 H 108.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#B2B035
RGBrgb(178, 176, 53)
HSLhsl(59, 54%, 45%)
HSVhsv(59, 70%, 70%)
CMYKcmyk(0%, 1.1%, 70.2%, 30.2%)
CIE-LABlab(70.02, -14.00, 59.85)
CIE-LCHlch(70.02, 61.47, 103.16°)
OKLaboklab(73.67% -0.0445 0.1331)
OKLCHoklch(73.67% 0.14 108.5)
XYZxyz(34.5293, 40.7738, 9.4187)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B035 #3537B2
analogous
#B27135 #B2B035 #75B235
triadic
#B2B035 #35B2B0 #B035B2
tetradic
#B2B035 #35B271 #3537B2 #B23575
square
#B2B035 #35B271 #3537B2 #B23575
split-complementary
#B2B035 #3575B2 #7135B2
monochromatic
#545319 #838127 #B2B035 #CDCB57 #DBDA86

Accessibility & contrast

On white

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

On black

9.15
#B2B035 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B035
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B035#FFFFFF#000000##000000
##B2B0351.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA921
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b035;
/* rgb */ color: rgb(178, 176, 53);
/* oklch */ color: oklch(73.7% 0.140 108.5);
Tailwind
colors: {
  custom: {
    50: '#ccc774',
    500: '#b2b035',
    950: '#000000',
  },
}
SCSS
$custom: #b2b035;
$custom-light: #ccc774;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b035",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 53
  },
  "hsl": {
    "h": 59.04,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73672,
    "c": 0.14031,
    "h": 108.5
  },
  "luminance": 0.40773
}

Semantic roles & 50–950 ramp

primary
#B2B035
secondary
#7E7FC5
accent
#4DDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B035

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

Preview Lab → · Contrast checker → · Palette generator →

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