#B0C431#B0C431

#B0C431 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 77.9% C 0.164 H 117.3°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B0C431
RGBrgb(176, 196, 49)
HSLhsl(68, 60%, 48%)
HSVhsv(68, 75%, 77%)
CMYKcmyk(10.2%, 0%, 75%, 23.1%)
CIE-LABlab(75.41, -25.02, 66.36)
CIE-LCHlch(75.41, 70.92, 110.66°)
OKLaboklab(77.94% -0.0754 0.1462)
OKLCHoklch(77.94% 0.164 117.3)
XYZxyz(38.1997, 48.9322, 10.3376)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C431 #4531C4
analogous
#C48E31 #B0C431 #67C431
triadic
#B0C431 #31B0C4 #C431B0
tetradic
#B0C431 #31C48E #4531C4 #C43167
square
#B0C431 #31C48E #4531C4 #C43167
split-complementary
#B0C431 #3167C4 #8E31C4
monochromatic
#586219 #849325 #B0C431 #C6D65C #D7E28D

Accessibility & contrast

On white

1.95
#B0C431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#B0C431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C431
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C431#FFFFFF#000000##000000
##B0C4311.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90D
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#BBB9A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b0c431;
/* rgb */ color: rgb(176, 196, 49);
/* oklch */ color: oklch(77.9% 0.164 117.3);
Tailwind
colors: {
  custom: {
    50: '#cbd574',
    500: '#b0c431',
    950: '#000000',
  },
}
SCSS
$custom: #b0c431;
$custom-light: #cbd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c431",
  "rgb": {
    "r": 176,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 68.163,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.16448,
    "h": 117.3
  },
  "luminance": 0.48932
}

Semantic roles & 50–950 ramp

primary
#B0C431
secondary
#8E84CD
accent
#45E35A
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #B0C431

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

Preview Lab → · Contrast checker → · Palette generator →

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