#B9C124#B9C124

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

Color values

HEX#B9C124
RGBrgb(185, 193, 36)
HSLhsl(63, 69%, 45%)
HSVhsv(63, 81%, 76%)
CMYKcmyk(4.1%, 0%, 81.3%, 24.3%)
CIE-LABlab(75.19, -20.26, 70.20)
CIE-LCHlch(75.19, 73.06, 106.10°)
OKLaboklab(77.92% -0.0637 0.1518)
OKLCHoklch(77.92% 0.165 112.8)
XYZxyz(39.3973, 48.5825, 8.9707)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C124 #2C24C1
analogous
#C17A24 #B9C124 #6BC124
triadic
#B9C124 #24B9C1 #C124B9
tetradic
#B9C124 #24C17A #2C24C1 #C1246B
square
#B9C124 #24C17A #2C24C1 #C1246B
split-complementary
#B9C124 #246BC1 #7A24C1
monochromatic
#565A11 #888D1A #B9C124 #D5DC46 #E1E679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C124#FFFFFF#000000##000000
##B9C1241.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)
#D0BB34
Tritanopia (blue-blind)
#C6B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c124;
/* rgb */ color: rgb(185, 193, 36);
/* oklch */ color: oklch(77.9% 0.165 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d36f',
    500: '#b9c124',
    950: '#000000',
  },
}
SCSS
$custom: #b9c124;
$custom-light: #d2d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c124",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 63.057,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7792,
    "c": 0.16461,
    "h": 112.8
  },
  "luminance": 0.48582
}

Semantic roles & 50–950 ramp

primary
#B9C124
secondary
#7873CE
accent
#3CEB45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9C124

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

Preview Lab → · Contrast checker → · Palette generator →

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