#B4C231#B4C231

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

Color values

HEX#B4C231
RGBrgb(180, 194, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.2%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.14, -22.37, 66.22)
CIE-LCHlch(75.14, 69.90, 108.67°)
OKLaboklab(77.81% -0.0683 0.1458)
OKLCHoklch(77.81% 0.161 115.1)
XYZxyz(38.6696, 48.5093, 10.2313)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C231 #3F31C2
analogous
#C28731 #B4C231 #6CC231
triadic
#B4C231 #31B4C2 #C231B4
tetradic
#B4C231 #31C287 #3F31C2 #C2316C
square
#B4C231 #31C287 #3F31C2 #C2316C
split-complementary
#B4C231 #316CC2 #8731C2
monochromatic
#596018 #879125 #B4C231 #CAD65B #DAE28C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C231#FFFFFF#000000##000000
##B4C2311.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)
#D0B80E
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c231;
/* rgb */ color: rgb(180, 194, 49);
/* oklch */ color: oklch(77.8% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#ced474',
    500: '#b4c231',
    950: '#000000',
  },
}
SCSS
$custom: #b4c231;
$custom-light: #ced474;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c231",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 65.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77807,
    "c": 0.16096,
    "h": 115.1
  },
  "luminance": 0.48509
}

Semantic roles & 50–950 ramp

primary
#B4C231
secondary
#8A83CC
accent
#45E354
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C231

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

Preview Lab → · Contrast checker → · Palette generator →

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