#B2B440#B2B440

#B2B440 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.137 H 110.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B2B440
RGBrgb(178, 180, 64)
HSLhsl(61, 48%, 48%)
HSVhsv(61, 64%, 71%)
CMYKcmyk(1.1%, 0%, 64.4%, 29.4%)
CIE-LABlab(71.20, -15.42, 56.71)
CIE-LCHlch(71.20, 58.77, 105.21°)
OKLaboklab(74.64% -0.0473 0.1283)
OKLCHoklch(74.64% 0.137 110.2)
XYZxyz(35.6079, 42.4786, 11.1730)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B440 #4240B4
analogous
#B47C40 #B2B440 #78B440
triadic
#B2B440 #40B2B4 #B440B2
tetradic
#B2B440 #40B47C #4240B4 #B44078
square
#B2B440 #40B47C #4240B4 #B44078
split-complementary
#B2B440 #4078B4 #7C40B4
monochromatic
#595A20 #858730 #B2B440 #C8C968 #D8D995

Accessibility & contrast

On white

2.21
#B2B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B2B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B440
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B440#FFFFFF#000000##000000
##B2B4401.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC31
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#BEA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b440;
/* rgb */ color: rgb(178, 180, 64);
/* oklch */ color: oklch(74.6% 0.137 110.2);
Tailwind
colors: {
  custom: {
    50: '#ccca7b',
    500: '#b2b440',
    950: '#000000',
  },
}
SCSS
$custom: #b2b440;
$custom-light: #ccca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b440",
  "rgb": {
    "r": 178,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 61.034,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74641,
    "c": 0.13672,
    "h": 110.2
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#B2B440
secondary
#8C8BC5
accent
#51D753
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B440

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

Preview Lab → · Contrast checker → · Palette generator →

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