#B0C142#B0C142

#B0C142 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.150 H 116.6°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B0C142
RGBrgb(176, 193, 66)
HSLhsl(68, 51%, 51%)
HSVhsv(68, 66%, 76%)
CMYKcmyk(8.8%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.68, -22.63, 59.47)
CIE-LCHlch(74.68, 63.63, 110.84°)
OKLaboklab(77.39% -0.0672 0.1344)
OKLCHoklch(77.39% 0.15 116.6)
XYZxyz(37.9587, 47.7639, 12.3729)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C142 #5342C1
analogous
#C19242 #B0C142 #71C142
triadic
#B0C142 #42B0C1 #C142B0
tetradic
#B0C142 #42C192 #5342C1 #C14271
square
#B0C142 #42C192 #5342C1 #C14271
split-complementary
#B0C142 #4271C1 #9242C1
monochromatic
#5E6722 #889531 #B0C142 #C3D070 #D7DF9E

Accessibility & contrast

On white

1.99
#B0C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B0C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C142
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C142#FFFFFF#000000##000000
##B0C1421.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#BBB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b0c142;
/* rgb */ color: rgb(176, 193, 66);
/* oklch */ color: oklch(77.4% 0.150 116.6);
Tailwind
colors: {
  custom: {
    50: '#cbd37d',
    500: '#b0c142',
    950: '#000000',
  },
}
SCSS
$custom: #b0c142;
$custom-light: #cbd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c142",
  "rgb": {
    "r": 176,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 68.031,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77391,
    "c": 0.15029,
    "h": 116.6
  },
  "luminance": 0.47763
}

Semantic roles & 50–950 ramp

primary
#B0C142
secondary
#9B93CC
accent
#4EDA60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B0C142

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

Preview Lab → · Contrast checker → · Palette generator →

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