#B2C045#B2C045

#B2C045 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.146 H 115.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B2C045
RGBrgb(178, 192, 69)
HSLhsl(67, 49%, 51%)
HSVhsv(67, 64%, 75%)
CMYKcmyk(7.3%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.57, -21.12, 58.18)
CIE-LCHlch(74.57, 61.90, 109.95°)
OKLaboklab(77.35% -0.0628 0.1321)
OKLCHoklch(77.35% 0.146 115.4)
XYZxyz(38.2848, 47.5945, 12.7989)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C045 #5345C0
analogous
#C09045 #B2C045 #74C045
triadic
#B2C045 #45B2C0 #C045B2
tetradic
#B2C045 #45C090 #5345C0 #C04574
square
#B2C045 #45C090 #5345C0 #C04574
split-complementary
#B2C045 #4574C0 #9045C0
monochromatic
#606823 #8A9533 #B2C045 #C5CF73 #D8DFA0

Accessibility & contrast

On white

2.00
#B2C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B2C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C045
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C045#FFFFFF#000000##000000
##B2C0451.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#BDB5A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c045;
/* rgb */ color: rgb(178, 192, 69);
/* oklch */ color: oklch(77.3% 0.146 115.4);
Tailwind
colors: {
  custom: {
    50: '#ccd27f',
    500: '#b2c045',
    950: '#000000',
  },
}
SCSS
$custom: #b2c045;
$custom-light: #ccd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c045",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 66.829,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77349,
    "c": 0.14628,
    "h": 115.4
  },
  "luminance": 0.47594
}

Semantic roles & 50–950 ramp

primary
#B2C045
secondary
#9B95CC
accent
#4FD95F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C045

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

Preview Lab → · Contrast checker → · Palette generator →

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