#B7C332#B7C332

#B7C332 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.161 H 114.3°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#B7C332
RGBrgb(183, 195, 50)
HSLhsl(65, 59%, 48%)
HSVhsv(65, 74%, 76%)
CMYKcmyk(6.2%, 0%, 74.4%, 23.5%)
CIE-LABlab(75.66, -21.56, 66.45)
CIE-LCHlch(75.66, 69.86, 107.98°)
OKLaboklab(78.27% -0.0661 0.1463)
OKLCHoklch(78.27% 0.161 114.3)
XYZxyz(39.6204, 49.3285, 10.4512)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C332 #3E32C3
analogous
#C38732 #B7C332 #6EC332
triadic
#B7C332 #32B7C3 #C332B7
tetradic
#B7C332 #32C387 #3E32C3 #C3326E
square
#B7C332 #32C387 #3E32C3 #C3326E
split-complementary
#B7C332 #326EC3 #8732C3
monochromatic
#5C6219 #899226 #B7C332 #CBD55D #DBE28E

Accessibility & contrast

On white

1.93
#B7C332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#B7C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C332
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C332#FFFFFF#000000##000000
##B7C3321.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B911
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#C3B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c332;
/* rgb */ color: rgb(183, 195, 50);
/* oklch */ color: oklch(78.3% 0.161 114.3);
Tailwind
colors: {
  custom: {
    50: '#d0d575',
    500: '#b7c332',
    950: '#000000',
  },
}
SCSS
$custom: #b7c332;
$custom-light: #d0d575;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c332",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 64.966,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78274,
    "c": 0.16057,
    "h": 114.3
  },
  "luminance": 0.49328
}

Semantic roles & 50–950 ramp

primary
#B7C332
secondary
#8A85CC
accent
#45E252
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C332

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

Preview Lab → · Contrast checker → · Palette generator →

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