#B4C126#B4C126

#B4C126 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.165 H 114.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B4C126
RGBrgb(180, 193, 38)
HSLhsl(65, 67%, 45%)
HSVhsv(65, 80%, 76%)
CMYKcmyk(6.7%, 0%, 80.3%, 24.3%)
CIE-LABlab(74.81, -22.32, 69.20)
CIE-LCHlch(74.81, 72.71, 107.87°)
OKLaboklab(77.53% -0.069 0.1502)
OKLCHoklch(77.53% 0.165 114.7)
XYZxyz(38.2434, 47.9839, 9.0806)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C126 #3326C1
analogous
#C18026 #B4C126 #67C126
triadic
#B4C126 #26B4C1 #C126B4
tetradic
#B4C126 #26C180 #3326C1 #C12667
square
#B4C126 #26C180 #3326C1 #C12667
split-complementary
#B4C126 #2667C1 #8026C1
monochromatic
#555B12 #848E1C #B4C126 #CFDB49 #DCE57C

Accessibility & contrast

On white

1.98
#B4C126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B4C126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C126
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C126#FFFFFF#000000##000000
##B4C1261.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c126;
/* rgb */ color: rgb(180, 193, 38);
/* oklch */ color: oklch(77.5% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced36f',
    500: '#b4c126',
    950: '#000000',
  },
}
SCSS
$custom: #b4c126;
$custom-light: #ced36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c126",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 65.032,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77526,
    "c": 0.16526,
    "h": 114.7
  },
  "luminance": 0.47983
}

Semantic roles & 50–950 ramp

primary
#B4C126
secondary
#7D75CD
accent
#3EEA4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4C126

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

Preview Lab → · Contrast checker → · Palette generator →

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