#B2B735#B2B735

#B2B735 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.147 H 111.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B2B735
RGBrgb(178, 183, 53)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 72%)
CMYKcmyk(2.7%, 0%, 71%, 28.2%)
CIE-LABlab(71.95, -17.56, 61.75)
CIE-LCHlch(71.95, 64.19, 105.87°)
OKLaboklab(75.22% -0.0544 0.1371)
OKLCHoklch(75.22% 0.147 111.7)
XYZxyz(35.9373, 43.5899, 9.8881)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B735 #3A35B7
analogous
#B77B35 #B2B735 #71B735
triadic
#B2B735 #35B2B7 #B735B2
tetradic
#B2B735 #35B77B #3A35B7 #B73571
square
#B2B735 #35B77B #3A35B7 #B73571
split-complementary
#B2B735 #3571B7 #7B35B7
monochromatic
#56581A #848827 #B2B735 #CBCF5A #DADD89

Accessibility & contrast

On white

2.16
#B2B735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B2B735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B735
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B735#FFFFFF#000000##000000
##B2B7351.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1E
Deuteranopia (green-blind)
#C6B23F
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b735;
/* rgb */ color: rgb(178, 183, 53);
/* oklch */ color: oklch(75.2% 0.147 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccc75',
    500: '#b2b735',
    950: '#000000',
  },
}
SCSS
$custom: #b2b735;
$custom-light: #cccc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b735",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 53
  },
  "hsl": {
    "h": 62.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75219,
    "c": 0.14748,
    "h": 111.7
  },
  "luminance": 0.43589
}

Semantic roles & 50–950 ramp

primary
#B2B735
secondary
#8381C7
accent
#49DE4F
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B735

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

Preview Lab → · Contrast checker → · Palette generator →

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