#B0C242#B0C242

#B0C242 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.151 H 116.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B0C242
RGBrgb(176, 194, 66)
HSLhsl(68, 51%, 51%)
HSVhsv(68, 66%, 76%)
CMYKcmyk(9.3%, 0%, 66%, 23.9%)
CIE-LABlab(74.96, -23.13, 59.76)
CIE-LCHlch(74.96, 64.07, 111.16°)
OKLaboklab(77.61% -0.0686 0.135)
OKLCHoklch(77.61% 0.151 116.9)
XYZxyz(38.1805, 48.2075, 12.4468)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C242 #5442C2
analogous
#C29442 #B0C242 #70C242
triadic
#B0C242 #42B0C2 #C242B0
tetradic
#B0C242 #42C294 #5442C2 #C24270
square
#B0C242 #42C294 #5442C2 #C24270
split-complementary
#B0C242 #4270C2 #9442C2
monochromatic
#5E6822 #889631 #B0C242 #C3D170 #D7E09F

Accessibility & contrast

On white

1.97
#B0C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B0C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C242
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C242#FFFFFF#000000##000000
##B0C2421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#BAB7A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b0c242;
/* rgb */ color: rgb(176, 194, 66);
/* oklch */ color: oklch(77.6% 0.151 116.9);
Tailwind
colors: {
  custom: {
    50: '#cbd47d',
    500: '#b0c242',
    950: '#000000',
  },
}
SCSS
$custom: #b0c242;
$custom-light: #cbd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c242",
  "rgb": {
    "r": 176,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 68.438,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77615,
    "c": 0.15146,
    "h": 116.9
  },
  "luminance": 0.48207
}

Semantic roles & 50–950 ramp

primary
#B0C242
secondary
#9C94CC
accent
#4DDB61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B0C242

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

Preview Lab → · Contrast checker → · Palette generator →

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