#B9C126#B9C126

#B9C126 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.164 H 112.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B9C126
RGBrgb(185, 193, 38)
HSLhsl(63, 67%, 45%)
HSVhsv(63, 80%, 76%)
CMYKcmyk(4.1%, 0%, 80.3%, 24.3%)
CIE-LABlab(75.20, -20.20, 69.68)
CIE-LCHlch(75.20, 72.55, 106.16°)
OKLaboklab(77.93% -0.0634 0.151)
OKLCHoklch(77.93% 0.164 112.8)
XYZxyz(39.4287, 48.5951, 9.1361)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C126 #2E26C1
analogous
#C17C26 #B9C126 #6BC126
triadic
#B9C126 #26B9C1 #C126B9
tetradic
#B9C126 #26C17C #2E26C1 #C1266B
square
#B9C126 #26C17C #2E26C1 #C1266B
split-complementary
#B9C126 #266BC1 #7C26C1
monochromatic
#575B12 #888E1C #B9C126 #D4DB49 #E0E57C

Accessibility & contrast

On white

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

On black

10.72
#B9C126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C126
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C126#FFFFFF#000000##000000
##B9C1261.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D0BB35
Tritanopia (blue-blind)
#C6B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c126;
/* rgb */ color: rgb(185, 193, 38);
/* oklch */ color: oklch(77.9% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d370',
    500: '#b9c126',
    950: '#000000',
  },
}
SCSS
$custom: #b9c126;
$custom-light: #d2d370;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c126",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 63.097,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77929,
    "c": 0.16379,
    "h": 112.8
  },
  "luminance": 0.48594
}

Semantic roles & 50–950 ramp

primary
#B9C126
secondary
#7A75CD
accent
#3EEA47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9C126

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

Preview Lab → · Contrast checker → · Palette generator →

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