#B9C125#B9C125

#B9C125 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#B9C125
RGBrgb(185, 193, 37)
HSLhsl(63, 68%, 45%)
HSVhsv(63, 81%, 76%)
CMYKcmyk(4.1%, 0%, 80.8%, 24.3%)
CIE-LABlab(75.19, -20.23, 69.94)
CIE-LCHlch(75.19, 72.81, 106.13°)
OKLaboklab(77.92% -0.0635 0.1514)
OKLCHoklch(77.92% 0.164 112.8)
XYZxyz(39.4128, 48.5887, 9.0523)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C125 #2D25C1
analogous
#C17B25 #B9C125 #6BC125
triadic
#B9C125 #25B9C1 #C125B9
tetradic
#B9C125 #25C17B #2D25C1 #C1256B
square
#B9C125 #25C17B #2D25C1 #C1256B
split-complementary
#B9C125 #256BC1 #7B25C1
monochromatic
#575A11 #888E1B #B9C125 #D4DC47 #E0E67B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C125#FFFFFF#000000##000000
##B9C1251.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: #b9c125;
/* rgb */ color: rgb(185, 193, 37);
/* oklch */ color: oklch(77.9% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d36f',
    500: '#b9c125',
    950: '#000000',
  },
}
SCSS
$custom: #b9c125;
$custom-light: #d2d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c125",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 63.077,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.77924,
    "c": 0.1642,
    "h": 112.8
  },
  "luminance": 0.48588
}

Semantic roles & 50–950 ramp

primary
#B9C125
secondary
#7974CE
accent
#3DEB46
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9C125

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

Preview Lab → · Contrast checker → · Palette generator →

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