#B2C234#B2C234

#B2C234 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.160 H 115.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B2C234
RGBrgb(178, 194, 52)
HSLhsl(67, 58%, 48%)
HSVhsv(67, 73%, 76%)
CMYKcmyk(8.2%, 0%, 73.2%, 23.9%)
CIE-LABlab(75.01, -23.07, 65.04)
CIE-LCHlch(75.01, 69.02, 109.53°)
OKLaboklab(77.67% -0.0698 0.1439)
OKLCHoklch(77.67% 0.16 115.9)
XYZxyz(38.2727, 48.2971, 10.5542)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C234 #4434C2
analogous
#C28B34 #B2C234 #6BC234
triadic
#B2C234 #34B2C2 #C234B2
tetradic
#B2C234 #34C28B #4434C2 #C2346B
square
#B2C234 #34C28B #4434C2 #C2346B
split-complementary
#B2C234 #346BC2 #8B34C2
monochromatic
#59611A #869227 #B2C234 #C7D45F #D8E18F

Accessibility & contrast

On white

1.97
#B2C234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B2C234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C234
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C234#FFFFFF#000000##000000
##B2C2341.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B817
Deuteranopia (green-blind)
#CEBA40
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c234;
/* rgb */ color: rgb(178, 194, 52);
/* oklch */ color: oklch(77.7% 0.160 115.9);
Tailwind
colors: {
  custom: {
    50: '#cdd476',
    500: '#b2c234',
    950: '#000000',
  },
}
SCSS
$custom: #b2c234;
$custom-light: #cdd476;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c234",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 52
  },
  "hsl": {
    "h": 66.761,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.15992,
    "h": 115.9
  },
  "luminance": 0.48296
}

Semantic roles & 50–950 ramp

primary
#B2C234
secondary
#8E86CC
accent
#47E158
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C234

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

Preview Lab → · Contrast checker → · Palette generator →

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