#B2B346#B2B346

#B2B346 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.5% C 0.131 H 109.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#B2B346
RGBrgb(178, 179, 70)
HSLhsl(61, 44%, 49%)
HSVhsv(61, 61%, 70%)
CMYKcmyk(0.6%, 0%, 60.9%, 29.8%)
CIE-LABlab(70.97, -14.51, 53.92)
CIE-LCHlch(70.97, 55.84, 105.06°)
OKLaboklab(74.48% -0.0441 0.1233)
OKLCHoklch(74.48% 0.131 109.7)
XYZxyz(35.5867, 42.1483, 12.0540)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B346 #4746B3
analogous
#B37E46 #B2B346 #7CB346
triadic
#B2B346 #46B2B3 #B346B2
tetradic
#B2B346 #46B37E #4746B3 #B3467C
square
#B2B346 #46B37E #4746B3 #B3467C
split-complementary
#B2B346 #467CB3 #7E46B3
monochromatic
#5B5B24 #868735 #B2B346 #C6C76F #D7D89B

Accessibility & contrast

On white

2.23
#B2B346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#B2B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B346
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B346#FFFFFF#000000##000000
##B2B3461.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC39
Deuteranopia (green-blind)
#C2AF4D
Tritanopia (blue-blind)
#BEA89C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b346;
/* rgb */ color: rgb(178, 179, 70);
/* oklch */ color: oklch(74.5% 0.131 109.7);
Tailwind
colors: {
  custom: {
    50: '#ccc97e',
    500: '#b2b346',
    950: '#000000',
  },
}
SCSS
$custom: #b2b346;
$custom-light: #ccc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b346",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 60.55,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74476,
    "c": 0.13091,
    "h": 109.7
  },
  "luminance": 0.42147
}

Semantic roles & 50–950 ramp

primary
#B2B346
secondary
#9190C4
accent
#54D455
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B346

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

Preview Lab → · Contrast checker → · Palette generator →

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