#B0C21F#B0C21F

#B0C21F is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.170 H 116.4°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B0C21F
RGBrgb(176, 194, 31)
HSLhsl(67, 72%, 44%)
HSVhsv(67, 84%, 76%)
CMYKcmyk(9.3%, 0%, 84%, 23.9%)
CIE-LABlab(74.77, -24.71, 70.78)
CIE-LCHlch(74.77, 74.97, 109.24°)
OKLaboklab(77.41% -0.0758 0.1526)
OKLCHoklch(77.41% 0.17 116.4)
XYZxyz(37.4447, 47.9132, 8.5717)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0C21F #311FC2
analogous
#C2831F #B0C21F #5FC21F
triadic
#B0C21F #1FB0C2 #C21FB0
tetradic
#B0C21F #1FC283 #311FC2 #C21F5F
square
#B0C21F #1FC283 #311FC2 #C21F5F
split-complementary
#B0C21F #1F5FC2 #831FC2
monochromatic
#50580E #808D17 #B0C21F #CEE03E #DCE973

Accessibility & contrast

On white

1.98
#B0C21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B0C21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0C21F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0C21F#FFFFFF#000000##000000
##B0C21F1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFB932
Tritanopia (blue-blind)
#BCB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b0c21f;
/* rgb */ color: rgb(176, 194, 31);
/* oklch */ color: oklch(77.4% 0.170 116.4);
Tailwind
colors: {
  custom: {
    50: '#ccd46d',
    500: '#b0c21f',
    950: '#000000',
  },
}
SCSS
$custom: #b0c21f;
$custom-light: #ccd46d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0c21f",
  "rgb": {
    "r": 176,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 66.626,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77407,
    "c": 0.1704,
    "h": 116.4
  },
  "luminance": 0.47913
}

Semantic roles & 50–950 ramp

primary
#B0C21F
secondary
#786DCF
accent
#39EF4D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B0C21F

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

Preview Lab → · Contrast checker → · Palette generator →

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