#B0C331#B0C331

#B0C331 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.7% C 0.163 H 117.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B0C331
RGBrgb(176, 195, 49)
HSLhsl(68, 60%, 48%)
HSVhsv(68, 75%, 76%)
CMYKcmyk(9.7%, 0%, 74.9%, 23.5%)
CIE-LABlab(75.13, -24.53, 66.10)
CIE-LCHlch(75.13, 70.51, 110.36°)
OKLaboklab(77.72% -0.074 0.1456)
OKLCHoklch(77.72% 0.163 117)
XYZxyz(37.9749, 48.4826, 10.2627)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C331 #4431C3
analogous
#C38D31 #B0C331 #67C331
triadic
#B0C331 #31B0C3 #C331B0
tetradic
#B0C331 #31C38D #4431C3 #C33167
square
#B0C331 #31C38D #4431C3 #C33167
split-complementary
#B0C331 #3167C3 #8D31C3
monochromatic
#586118 #849225 #B0C331 #C6D65B #D7E28C

Accessibility & contrast

On white

1.96
#B0C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B0C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C331
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C331#FFFFFF#000000##000000
##B0C3311.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B80E
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#BBB8A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b0c331;
/* rgb */ color: rgb(176, 195, 49);
/* oklch */ color: oklch(77.7% 0.163 117.0);
Tailwind
colors: {
  custom: {
    50: '#cbd574',
    500: '#b0c331',
    950: '#000000',
  },
}
SCSS
$custom: #b0c331;
$custom-light: #cbd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c331",
  "rgb": {
    "r": 176,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 67.808,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7772,
    "c": 0.16338,
    "h": 117
  },
  "luminance": 0.48482
}

Semantic roles & 50–950 ramp

primary
#B0C331
secondary
#8D83CC
accent
#45E359
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #B0C331

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

Preview Lab → · Contrast checker → · Palette generator →

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