#B9C045#B9C045

#B9C045 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.144 H 112.4°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B9C045
RGBrgb(185, 192, 69)
HSLhsl(63, 49%, 51%)
HSVhsv(63, 64%, 75%)
CMYKcmyk(3.6%, 0%, 64.1%, 24.7%)
CIE-LABlab(75.10, -18.21, 58.91)
CIE-LCHlch(75.10, 61.66, 107.18°)
OKLaboklab(77.91% -0.055 0.1335)
OKLCHoklch(77.91% 0.144 112.4)
XYZxyz(39.9325, 48.4441, 12.8762)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C045 #4C45C0
analogous
#C08945 #B9C045 #7BC045
triadic
#B9C045 #45B9C0 #C045B9
tetradic
#B9C045 #45C089 #4C45C0 #C0457B
square
#B9C045 #45C089 #4C45C0 #C0457B
split-complementary
#B9C045 #457BC0 #8945C0
monochromatic
#646823 #909533 #B9C045 #CACF73 #DBDFA0

Accessibility & contrast

On white

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

On black

10.69
#B9C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C045
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C045#FFFFFF#000000##000000
##B9C0451.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#C5B5A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c045;
/* rgb */ color: rgb(185, 192, 69);
/* oklch */ color: oklch(77.9% 0.144 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d27f',
    500: '#b9c045',
    950: '#000000',
  },
}
SCSS
$custom: #b9c045;
$custom-light: #d1d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c045",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 63.415,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77911,
    "c": 0.14439,
    "h": 112.4
  },
  "luminance": 0.48443
}

Semantic roles & 50–950 ramp

primary
#B9C045
secondary
#9895CC
accent
#4FD957
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C045

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

Preview Lab → · Contrast checker → · Palette generator →

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