#B2B746#B2B746

#B2B746 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.135 H 111.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B2B746
RGBrgb(178, 183, 70)
HSLhsl(63, 45%, 50%)
HSVhsv(63, 62%, 72%)
CMYKcmyk(2.7%, 0%, 61.7%, 28.2%)
CIE-LABlab(72.08, -16.55, 55.11)
CIE-LCHlch(72.08, 57.54, 106.71°)
OKLaboklab(75.36% -0.0499 0.1258)
OKLCHoklch(75.36% 0.135 111.6)
XYZxyz(36.4001, 43.7750, 12.3251)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B746 #4B46B7
analogous
#B78446 #B2B746 #7AB746
triadic
#B2B746 #46B2B7 #B746B2
tetradic
#B2B746 #46B784 #4B46B7 #B7467A
square
#B2B746 #46B784 #4B46B7 #B7467A
split-complementary
#B2B746 #467AB7 #8446B7
monochromatic
#5C5E24 #878B35 #B2B746 #C5C971 #D7DA9E

Accessibility & contrast

On white

2.15
#B2B746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B2B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B746
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B746#FFFFFF#000000##000000
##B2B7461.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF38
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#BDAC9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b746;
/* rgb */ color: rgb(178, 183, 70);
/* oklch */ color: oklch(75.4% 0.135 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc7f',
    500: '#b2b746',
    950: '#000000',
  },
}
SCSS
$custom: #b2b746;
$custom-light: #cccc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b746",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 62.655,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75358,
    "c": 0.13529,
    "h": 111.6
  },
  "luminance": 0.43774
}

Semantic roles & 50–950 ramp

primary
#B2B746
secondary
#9593C6
accent
#53D459
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B746

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

Preview Lab → · Contrast checker → · Palette generator →

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