#B0C931#B0C931

#B0C931 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.1% C 0.170 H 118.8°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B0C931
RGBrgb(176, 201, 49)
HSLhsl(70, 61%, 49%)
HSVhsv(70, 76%, 79%)
CMYKcmyk(12.4%, 0%, 75.6%, 21.2%)
CIE-LABlab(76.82, -27.42, 67.68)
CIE-LCHlch(76.82, 73.02, 112.06°)
OKLaboklab(79.08% -0.082 0.149)
OKLCHoklch(79.08% 0.17 118.8)
XYZxyz(39.3464, 51.2254, 10.7198)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C931 #4A31C9
analogous
#C99631 #B0C931 #64C931
triadic
#B0C931 #31B0C9 #C931B0
tetradic
#B0C931 #31C996 #4A31C9 #C93164
square
#B0C931 #31C996 #4A31C9 #C93164
split-complementary
#B0C931 #3164C9 #9631C9
monochromatic
#5A6719 #859825 #B0C931 #C4D85F #D6E490

Accessibility & contrast

On white

1.87
#B0C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#B0C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C931
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C931#FFFFFF#000000##000000
##B0C9311.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE08
Deuteranopia (green-blind)
#D4BE3F
Tritanopia (blue-blind)
#BBBEAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b0c931;
/* rgb */ color: rgb(176, 201, 49);
/* oklch */ color: oklch(79.1% 0.170 118.8);
Tailwind
colors: {
  custom: {
    50: '#cbd975',
    500: '#b0c931',
    950: '#000000',
  },
}
SCSS
$custom: #b0c931;
$custom-light: #cbd975;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c931",
  "rgb": {
    "r": 176,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 69.868,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.17006,
    "h": 118.8
  },
  "luminance": 0.51225
}

Semantic roles & 50–950 ramp

primary
#B0C931
secondary
#392D71
accent
#44E45E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B0C931

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

Preview Lab → · Contrast checker → · Palette generator →

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