#B2C150#B2C150

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

Color values

HEX#B2C150
RGBrgb(178, 193, 80)
HSLhsl(68, 48%, 54%)
HSVhsv(68, 59%, 76%)
CMYKcmyk(7.8%, 0%, 58.5%, 24.3%)
CIE-LABlab(74.94, -20.83, 53.87)
CIE-LCHlch(74.94, 57.76, 111.14°)
OKLaboklab(77.68% -0.0609 0.1244)
OKLCHoklch(77.68% 0.139 116.1)
XYZxyz(38.8788, 48.1846, 14.8403)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C150 #5F50C1
analogous
#C19750 #B2C150 #79C150
triadic
#B2C150 #50B2C1 #C150B2
tetradic
#B2C150 #50C197 #5F50C1 #C15079
square
#B2C150 #50C197 #5F50C1 #C15079
split-complementary
#B2C150 #5079C1 #9750C1
monochromatic
#666F27 #8F9C37 #B2C150 #C6D17D #DAE1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C150#FFFFFF#000000##000000
##B2C1501.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)
#CDB844
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#BCB7A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c150;
/* rgb */ color: rgb(178, 193, 80);
/* oklch */ color: oklch(77.7% 0.139 116.1);
Tailwind
colors: {
  custom: {
    50: '#cbd385',
    500: '#b2c150',
    950: '#000000',
  },
}
SCSS
$custom: #b2c150;
$custom-light: #cbd385;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c150",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 67.965,
    "s": 47.679,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77678,
    "c": 0.13853,
    "h": 116.1
  },
  "luminance": 0.48184
}

Semantic roles & 50–950 ramp

primary
#B2C150
secondary
#A59ECF
accent
#51D762
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C150

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

Preview Lab → · Contrast checker → · Palette generator →

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