#B0C342#B0C342

#B0C342 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.8% C 0.153 H 117.3°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B0C342
RGBrgb(176, 195, 66)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 66%, 76%)
CMYKcmyk(9.7%, 0%, 66.2%, 23.5%)
CIE-LABlab(75.24, -23.61, 60.04)
CIE-LCHlch(75.24, 64.52, 111.47°)
OKLaboklab(77.84% -0.0699 0.1357)
OKLCHoklch(77.84% 0.153 117.3)
XYZxyz(38.4038, 48.6541, 12.5213)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C342 #5542C3
analogous
#C39542 #B0C342 #6FC342
triadic
#B0C342 #42B0C3 #C342B0
tetradic
#B0C342 #42C395 #5542C3 #C3426F
square
#B0C342 #42C395 #5542C3 #C3426F
split-complementary
#B0C342 #426FC3 #9542C3
monochromatic
#5F6921 #889830 #B0C342 #C3D270 #D7E09F

Accessibility & contrast

On white

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

On black

10.73
#B0C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C342
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C342#FFFFFF#000000##000000
##B0C3421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#BAB8A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b0c342;
/* rgb */ color: rgb(176, 195, 66);
/* oklch */ color: oklch(77.8% 0.153 117.3);
Tailwind
colors: {
  custom: {
    50: '#cbd57d',
    500: '#b0c342',
    950: '#000000',
  },
}
SCSS
$custom: #b0c342;
$custom-light: #cbd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c342",
  "rgb": {
    "r": 176,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 68.837,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7784,
    "c": 0.15262,
    "h": 117.3
  },
  "luminance": 0.48654
}

Semantic roles & 50–950 ramp

primary
#B0C342
secondary
#9C94CD
accent
#4DDB62
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #B0C342

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

Preview Lab → · Contrast checker → · Palette generator →

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