#B2C039#B2C039

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

Color values

HEX#B2C039
RGBrgb(178, 192, 57)
HSLhsl(66, 54%, 49%)
HSVhsv(66, 70%, 75%)
CMYKcmyk(7.3%, 0%, 70.3%, 24.7%)
CIE-LABlab(74.48, -21.84, 62.77)
CIE-LCHlch(74.48, 66.46, 109.18°)
OKLaboklab(77.25% -0.066 0.1399)
OKLCHoklch(77.25% 0.155 115.2)
XYZxyz(37.9492, 47.4603, 11.0317)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C039 #4739C0
analogous
#C08B39 #B2C039 #6FC039
triadic
#B2C039 #39B2C0 #C039B2
tetradic
#B2C039 #39C08B #4739C0 #C0396F
square
#B2C039 #39C08B #4739C0 #C0396F
split-complementary
#B2C039 #396FC0 #8B39C0
monochromatic
#5B621D #86912B #B2C039 #C6D165 #D7DF94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C039#FFFFFF#000000##000000
##B2C0391.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)
#CEB622
Deuteranopia (green-blind)
#CDB844
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c039;
/* rgb */ color: rgb(178, 192, 57);
/* oklch */ color: oklch(77.3% 0.155 115.2);
Tailwind
colors: {
  custom: {
    50: '#ccd278',
    500: '#b2c039',
    950: '#000000',
  },
}
SCSS
$custom: #b2c039;
$custom-light: #ccd278;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c039",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 66.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77254,
    "c": 0.15467,
    "h": 115.2
  },
  "luminance": 0.4746
}

Semantic roles & 50–950 ramp

primary
#B2C039
secondary
#918ACB
accent
#4ADE5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B2C039

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

Preview Lab → · Contrast checker → · Palette generator →

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