#B9CD40#B9CD40

#B9CD40 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.8% C 0.162 H 117.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#B9CD40
RGBrgb(185, 205, 64)
HSLhsl(69, 59%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(9.8%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.66, -24.90, 64.51)
CIE-LCHlch(78.66, 69.15, 111.10°)
OKLaboklab(80.75% -0.0742 0.1445)
OKLCHoklch(80.75% 0.162 117.2)
XYZxyz(42.7653, 54.3476, 13.0868)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD40 #5440CD
analogous
#CD9B40 #B9CD40 #72CD40
triadic
#B9CD40 #40B9CD #CD40B9
tetradic
#B9CD40 #40CD9B #5440CD #CD4072
square
#B9CD40 #40CD9B #5440CD #CD4072
split-complementary
#B9CD40 #4072CD #9B40CD
monochromatic
#68741E #93A52B #B9CD40 #CBDA71 #DDE6A1

Accessibility & contrast

On white

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

On black

11.87
#B9CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD40
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD40#FFFFFF#000000##000000
##B9CD401.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd40;
/* rgb */ color: rgb(185, 205, 64);
/* oklch */ color: oklch(80.8% 0.162 117.2);
Tailwind
colors: {
  custom: {
    50: '#d1dc7d',
    500: '#b9cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd40;
$custom-light: #d1dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd40",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 68.511,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80753,
    "c": 0.16246,
    "h": 117.2
  },
  "luminance": 0.54347
}

Semantic roles & 50–950 ramp

primary
#B9CD40
secondary
#3F347D
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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