#B2C145#B2C145

#B2C145 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.147 H 115.8°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B2C145
RGBrgb(178, 193, 69)
HSLhsl(67, 50%, 51%)
HSVhsv(67, 64%, 76%)
CMYKcmyk(7.8%, 0%, 64.2%, 24.3%)
CIE-LABlab(74.85, -21.61, 58.47)
CIE-LCHlch(74.85, 62.34, 110.29°)
OKLaboklab(77.57% -0.0642 0.1327)
OKLCHoklch(77.57% 0.147 115.8)
XYZxyz(38.5051, 48.0351, 12.8724)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C145 #5445C1
analogous
#C19245 #B2C145 #74C145
triadic
#B2C145 #45B2C1 #C145B2
tetradic
#B2C145 #45C192 #5445C1 #C14574
square
#B2C145 #45C192 #5445C1 #C14574
split-complementary
#B2C145 #4574C1 #9245C1
monochromatic
#606923 #8A9732 #B2C145 #C5D073 #D8E0A1

Accessibility & contrast

On white

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

On black

10.61
#B2C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C145
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C145#FFFFFF#000000##000000
##B2C1451.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c145;
/* rgb */ color: rgb(178, 193, 69);
/* oklch */ color: oklch(77.6% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#ccd37f',
    500: '#b2c145',
    950: '#000000',
  },
}
SCSS
$custom: #b2c145;
$custom-light: #ccd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c145",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 67.258,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77573,
    "c": 0.14744,
    "h": 115.8
  },
  "luminance": 0.48035
}

Semantic roles & 50–950 ramp

primary
#B2C145
secondary
#9C96CC
accent
#4EDA5F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C145

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

Preview Lab → · Contrast checker → · Palette generator →

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