#B0C040#B0C040

#B0C040 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.151 H 116.2°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B0C040
RGBrgb(176, 192, 64)
HSLhsl(68, 50%, 50%)
HSVhsv(68, 67%, 75%)
CMYKcmyk(8.3%, 0%, 66.7%, 24.7%)
CIE-LABlab(74.38, -22.27, 59.96)
CIE-LCHlch(74.38, 63.96, 110.38°)
OKLaboklab(77.15% -0.0664 0.1352)
OKLCHoklch(77.15% 0.151 116.2)
XYZxyz(37.6804, 47.3001, 11.9943)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C040 #5040C0
analogous
#C09040 #B0C040 #70C040
triadic
#B0C040 #40B0C0 #C040B0
tetradic
#B0C040 #40C090 #5040C0 #C04070
square
#B0C040 #40C090 #5040C0 #C04070
split-complementary
#B0C040 #4070C0 #9040C0
monochromatic
#5C6421 #869230 #B0C040 #C3CF6E #D6DE9C

Accessibility & contrast

On white

2.01
#B0C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B0C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C040
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C040#FFFFFF#000000##000000
##B0C0401.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#BBB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b0c040;
/* rgb */ color: rgb(176, 192, 64);
/* oklch */ color: oklch(77.1% 0.151 116.2);
Tailwind
colors: {
  custom: {
    50: '#cbd27c',
    500: '#b0c040',
    950: '#000000',
  },
}
SCSS
$custom: #b0c040;
$custom-light: #cbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c040",
  "rgb": {
    "r": 176,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 67.5,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7715,
    "c": 0.15059,
    "h": 116.2
  },
  "luminance": 0.473
}

Semantic roles & 50–950 ramp

primary
#B0C040
secondary
#9891CB
accent
#4EDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B0C040

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

Preview Lab → · Contrast checker → · Palette generator →

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