#B9C123#B9C123

#B9C123 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#B9C123
RGBrgb(185, 193, 35)
HSLhsl(63, 69%, 45%)
HSVhsv(63, 82%, 76%)
CMYKcmyk(4.1%, 0%, 81.9%, 24.3%)
CIE-LABlab(75.19, -20.29, 70.45)
CIE-LCHlch(75.19, 73.31, 106.07°)
OKLaboklab(77.92% -0.0638 0.1522)
OKLCHoklch(77.92% 0.165 112.8)
XYZxyz(39.3823, 48.5765, 8.8914)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C123 #2B23C1
analogous
#C17A23 #B9C123 #6AC123
triadic
#B9C123 #23B9C1 #C123B9
tetradic
#B9C123 #23C17A #2B23C1 #C1236A
square
#B9C123 #23C17A #2B23C1 #C1236A
split-complementary
#B9C123 #236AC1 #7A23C1
monochromatic
#565910 #878D1A #B9C123 #D5DD44 #E1E678

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b9c123;
/* rgb */ color: rgb(185, 193, 35);
/* oklch */ color: oklch(77.9% 0.165 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d36e',
    500: '#b9c123',
    950: '#000000',
  },
}
SCSS
$custom: #b9c123;
$custom-light: #d2d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c123",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 35
  },
  "hsl": {
    "h": 63.038,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77916,
    "c": 0.16501,
    "h": 112.8
  },
  "luminance": 0.48576
}

Semantic roles & 50–950 ramp

primary
#B9C123
secondary
#7672CE
accent
#3CEC45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9C123

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

Preview Lab → · Contrast checker → · Palette generator →

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