#B2B755#B2B755

#B2B755 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.122 H 111.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2B755
RGBrgb(178, 183, 85)
HSLhsl(63, 40%, 53%)
HSVhsv(63, 54%, 72%)
CMYKcmyk(2.7%, 0%, 53.6%, 28.2%)
CIE-LABlab(72.22, -15.40, 48.50)
CIE-LCHlch(72.22, 50.88, 107.61°)
OKLaboklab(75.52% -0.045 0.1135)
OKLCHoklch(75.52% 0.122 111.6)
XYZxyz(36.9341, 43.9886, 15.1376)
Luminance0.4399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B755 #5A55B7
analogous
#B78B55 #B2B755 #81B755
triadic
#B2B755 #55B2B7 #B755B2
tetradic
#B2B755 #55B78B #5A55B7 #B75581
square
#B2B755 #55B78B #5A55B7 #B75581
split-complementary
#B2B755 #5581B7 #8B55B7
monochromatic
#63662B #8D913E #B2B755 #C5C980 #D9DBAB

Accessibility & contrast

On white

2.14
#B2B755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B2B755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B755
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B755#FFFFFF#000000##000000
##B2B7551.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04B
Deuteranopia (green-blind)
#C4B25A
Tritanopia (blue-blind)
#BDADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b755;
/* rgb */ color: rgb(178, 183, 85);
/* oklch */ color: oklch(75.5% 0.122 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc88',
    500: '#b2b755',
    950: '#000000',
  },
}
SCSS
$custom: #b2b755;
$custom-light: #cbcc88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b755",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 85
  },
  "hsl": {
    "h": 63.061,
    "s": 40.496,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75518,
    "c": 0.12209,
    "h": 111.6
  },
  "luminance": 0.43988
}

Semantic roles & 50–950 ramp

primary
#B2B755
secondary
#A19FC9
accent
#57D05E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2B755

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

Preview Lab → · Contrast checker → · Palette generator →

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