#B9C745#B9C745

#B9C745 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.5% C 0.152 H 115.2°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#B9C745
RGBrgb(185, 199, 69)
HSLhsl(66, 54%, 53%)
HSVhsv(66, 65%, 78%)
CMYKcmyk(7%, 0%, 65.3%, 22%)
CIE-LABlab(77.04, -21.68, 60.92)
CIE-LCHlch(77.04, 64.66, 109.59°)
OKLaboklab(79.46% -0.0648 0.1377)
OKLCHoklch(79.46% 0.152 115.2)
XYZxyz(41.5062, 51.5915, 13.4007)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C745 #5345C7
analogous
#C79445 #B9C745 #78C745
triadic
#B9C745 #45B9C7 #C745B9
tetradic
#B9C745 #45C794 #5345C7 #C74578
square
#B9C745 #45C794 #5345C7 #C74578
split-complementary
#B9C745 #4578C7 #9445C7
monochromatic
#677022 #939F30 #B9C745 #CBD574 #DCE3A3

Accessibility & contrast

On white

1.86
#B9C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#B9C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C745
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C745#FFFFFF#000000##000000
##B9C7451.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD33
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#C4BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c745;
/* rgb */ color: rgb(185, 199, 69);
/* oklch */ color: oklch(79.5% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#d1d77f',
    500: '#b9c745',
    950: '#000000',
  },
}
SCSS
$custom: #b9c745;
$custom-light: #d1d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c745",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 66.462,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79458,
    "c": 0.15219,
    "h": 115.2
  },
  "luminance": 0.51591
}

Semantic roles & 50–950 ramp

primary
#B9C745
secondary
#3E3779
accent
#4BDD5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C745

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

Preview Lab → · Contrast checker → · Palette generator →

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