#B4C230#B4C230

#B4C230 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.162 H 115.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B4C230
RGBrgb(180, 194, 48)
HSLhsl(66, 60%, 47%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.2%, 0%, 75.3%, 23.9%)
CIE-LABlab(75.14, -22.42, 66.54)
CIE-LCHlch(75.14, 70.21, 108.62°)
OKLaboklab(77.8% -0.0685 0.1463)
OKLCHoklch(77.8% 0.162 115.1)
XYZxyz(38.6488, 48.5009, 10.1214)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C230 #3E30C2
analogous
#C28730 #B4C230 #6BC230
triadic
#B4C230 #30B4C2 #C230B4
tetradic
#B4C230 #30C287 #3E30C2 #C2306B
square
#B4C230 #30C287 #3E30C2 #C2306B
split-complementary
#B4C230 #306BC2 #8730C2
monochromatic
#596018 #869124 #B4C230 #CAD659 #DAE28A

Accessibility & contrast

On white

1.96
#B4C230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B4C230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C230
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C230#FFFFFF#000000##000000
##B4C2301.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80B
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c230;
/* rgb */ color: rgb(180, 194, 48);
/* oklch */ color: oklch(77.8% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#ced474',
    500: '#b4c230',
    950: '#000000',
  },
}
SCSS
$custom: #b4c230;
$custom-light: #ced474;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c230",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 65.753,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77801,
    "c": 0.1615,
    "h": 115.1
  },
  "luminance": 0.485
}

Semantic roles & 50–950 ramp

primary
#B4C230
secondary
#8982CC
accent
#44E354
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C230

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

Preview Lab → · Contrast checker → · Palette generator →

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