#B2C03F#B2C03F

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

Color values

HEX#B2C03F
RGBrgb(178, 192, 63)
HSLhsl(67, 51%, 50%)
HSVhsv(67, 67%, 75%)
CMYKcmyk(7.3%, 0%, 67.2%, 24.7%)
CIE-LABlab(74.52, -21.50, 60.54)
CIE-LCHlch(74.52, 64.24, 109.55°)
OKLaboklab(77.3% -0.0645 0.1362)
OKLCHoklch(77.3% 0.151 115.3)
XYZxyz(38.1079, 47.5237, 11.8672)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C03F #4D3FC0
analogous
#C08E3F #B2C03F #71C03F
triadic
#B2C03F #3FB2C0 #C03FB2
tetradic
#B2C03F #3FC08E #4D3FC0 #C03F71
square
#B2C03F #3FC08E #4D3FC0 #C03F71
split-complementary
#B2C03F #3F71C0 #8E3FC0
monochromatic
#5D6421 #879230 #B2C03F #C4CF6D #D7DE9B

Accessibility & contrast

On white

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

On black

10.50
#B2C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C03F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C03F#FFFFFF#000000##000000
##B2C03F1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62C
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c03f;
/* rgb */ color: rgb(178, 192, 63);
/* oklch */ color: oklch(77.3% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#ccd27b',
    500: '#b2c03f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c03f;
$custom-light: #ccd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c03f",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 66.512,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.77299,
    "c": 0.15067,
    "h": 115.3
  },
  "luminance": 0.47523
}

Semantic roles & 50–950 ramp

primary
#B2C03F
secondary
#9791CA
accent
#4EDA5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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