#B2B135#B2B135

#B2B135 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.141 H 109.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B2B135
RGBrgb(178, 177, 53)
HSLhsl(60, 54%, 45%)
HSVhsv(60, 70%, 70%)
CMYKcmyk(0%, 0.6%, 70.2%, 30.2%)
CIE-LABlab(70.29, -14.51, 60.12)
CIE-LCHlch(70.29, 61.85, 103.57°)
OKLaboklab(73.89% -0.0459 0.1337)
OKLCHoklch(73.89% 0.141 109)
XYZxyz(34.7261, 41.1674, 9.4843)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B135 #3536B2
analogous
#B27235 #B2B135 #74B235
triadic
#B2B135 #35B2B1 #B135B2
tetradic
#B2B135 #35B272 #3536B2 #B23574
square
#B2B135 #35B272 #3536B2 #B23574
split-complementary
#B2B135 #3574B2 #7235B2
monochromatic
#545319 #838227 #B2B135 #CDCC57 #DBDA86

Accessibility & contrast

On white

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

On black

9.23
#B2B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B135
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B135#FFFFFF#000000##000000
##B2B1351.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA20
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b135;
/* rgb */ color: rgb(178, 177, 53);
/* oklch */ color: oklch(73.9% 0.141 109.0);
Tailwind
colors: {
  custom: {
    50: '#ccc874',
    500: '#b2b135',
    950: '#000000',
  },
}
SCSS
$custom: #b2b135;
$custom-light: #ccc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b135",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 59.52,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.14131,
    "h": 109
  },
  "luminance": 0.41166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2B135

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

Preview Lab → · Contrast checker → · Palette generator →

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