#B2C125#B2C125

#B2C125 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.166 H 115.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B2C125
RGBrgb(178, 193, 37)
HSLhsl(66, 68%, 45%)
HSVhsv(66, 81%, 76%)
CMYKcmyk(7.8%, 0%, 80.8%, 24.3%)
CIE-LABlab(74.66, -23.19, 69.27)
CIE-LCHlch(74.66, 73.05, 108.51°)
OKLaboklab(77.36% -0.0714 0.1503)
OKLCHoklch(77.36% 0.166 115.4)
XYZxyz(37.7651, 47.7391, 8.9751)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C125 #3425C1
analogous
#C18225 #B2C125 #64C125
triadic
#B2C125 #25B2C1 #C125B2
tetradic
#B2C125 #25C182 #3425C1 #C12564
square
#B2C125 #25C182 #3425C1 #C12564
split-complementary
#B2C125 #2564C1 #8225C1
monochromatic
#535A11 #838E1B #B2C125 #CEDC47 #DBE67B

Accessibility & contrast

On white

1.99
#B2C125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B2C125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C125
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C125#FFFFFF#000000##000000
##B2C1251.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CEB935
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c125;
/* rgb */ color: rgb(178, 193, 37);
/* oklch */ color: oklch(77.4% 0.166 115.4);
Tailwind
colors: {
  custom: {
    50: '#cdd36f',
    500: '#b2c125',
    950: '#000000',
  },
}
SCSS
$custom: #b2c125;
$custom-light: #cdd36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c125",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 65.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.77363,
    "c": 0.16634,
    "h": 115.4
  },
  "luminance": 0.47738
}

Semantic roles & 50–950 ramp

primary
#B2C125
secondary
#7D74CE
accent
#3DEB4E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2C125

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

Preview Lab → · Contrast checker → · Palette generator →

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