#B2C038#B2C038

#B2C038 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.155 H 115.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#B2C038
RGBrgb(178, 192, 56)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 75%)
CMYKcmyk(7.3%, 0%, 70.8%, 24.7%)
CIE-LABlab(74.48, -21.89, 63.13)
CIE-LCHlch(74.48, 66.81, 109.12°)
OKLaboklab(77.25% -0.0662 0.1405)
OKLCHoklch(77.25% 0.155 115.2)
XYZxyz(37.9245, 47.4504, 10.9016)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C038 #4638C0
analogous
#C08A38 #B2C038 #6EC038
triadic
#B2C038 #38B2C0 #C038B2
tetradic
#B2C038 #38C08A #4638C0 #C0386E
square
#B2C038 #38C08A #4638C0 #C0386E
split-complementary
#B2C038 #386EC0 #8A38C0
monochromatic
#5A611C #86912A #B2C038 #C6D264 #D8DF93

Accessibility & contrast

On white

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

On black

10.49
#B2C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C038
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C038#FFFFFF#000000##000000
##B2C0381.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#CDB843
Tritanopia (blue-blind)
#BDB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c038;
/* rgb */ color: rgb(178, 192, 56);
/* oklch */ color: oklch(77.2% 0.155 115.2);
Tailwind
colors: {
  custom: {
    50: '#ccd278',
    500: '#b2c038',
    950: '#000000',
  },
}
SCSS
$custom: #b2c038;
$custom-light: #ccd278;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c038",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 66.176,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77246,
    "c": 0.15531,
    "h": 115.2
  },
  "luminance": 0.4745
}

Semantic roles & 50–950 ramp

primary
#B2C038
secondary
#9089CB
accent
#4ADE59
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C038

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

Preview Lab → · Contrast checker → · Palette generator →

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