#B9CD45#B9CD45

#B9CD45 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.159 H 117.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#B9CD45
RGBrgb(185, 205, 69)
HSLhsl(69, 58%, 54%)
HSVhsv(69, 66%, 80%)
CMYKcmyk(9.8%, 0%, 66.3%, 19.6%)
CIE-LABlab(78.70, -24.60, 62.64)
CIE-LCHlch(78.70, 67.30, 111.44°)
OKLaboklab(80.79% -0.0729 0.1413)
OKLCHoklch(80.79% 0.159 117.3)
XYZxyz(42.9140, 54.4071, 13.8700)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD45 #5945CD
analogous
#CD9D45 #B9CD45 #75CD45
triadic
#B9CD45 #45B9CD #CD45B9
tetradic
#B9CD45 #45CD9D #5945CD #CD4575
square
#B9CD45 #45CD9D #5945CD #CD4575
split-complementary
#B9CD45 #4575CD #9D45CD
monochromatic
#6B7720 #96A82D #B9CD45 #CBDA75 #DDE7A5

Accessibility & contrast

On white

1.77
#B9CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#B9CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD45
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD45#FFFFFF#000000##000000
##B9CD451.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#D8C44F
Tritanopia (blue-blind)
#C4C2B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd45;
/* rgb */ color: rgb(185, 205, 69);
/* oklch */ color: oklch(80.8% 0.159 117.3);
Tailwind
colors: {
  custom: {
    50: '#d1dc80',
    500: '#b9cd45',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd45;
$custom-light: #d1dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd45",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 68.824,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80792,
    "c": 0.15905,
    "h": 117.3
  },
  "luminance": 0.54407
}

Semantic roles & 50–950 ramp

primary
#B9CD45
secondary
#413680
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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