#B9CD30#B9CD30

#B9CD30 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.172 H 116.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#B9CD30
RGBrgb(185, 205, 48)
HSLhsl(68, 62%, 50%)
HSVhsv(68, 77%, 80%)
CMYKcmyk(9.8%, 0%, 76.6%, 19.6%)
CIE-LABlab(78.57, -25.68, 69.84)
CIE-LCHlch(78.57, 74.41, 110.19°)
OKLaboklab(80.65% -0.0778 0.1531)
OKLCHoklch(80.65% 0.172 116.9)
XYZxyz(42.3735, 54.1909, 11.0234)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD30 #4430CD
analogous
#CD9230 #B9CD30 #6BCD30
triadic
#B9CD30 #30B9CD #CD30B9
tetradic
#B9CD30 #30CD92 #4430CD #CD306B
square
#B9CD30 #30CD92 #4430CD #CD306B
split-complementary
#B9CD30 #306BCD #9230CD
monochromatic
#5F6A19 #8C9B24 #B9CD30 #CADA60 #DBE592

Accessibility & contrast

On white

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

On black

11.84
#B9CD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD30
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD30#FFFFFF#000000##000000
##B9CD301.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D9C33F
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cd30;
/* rgb */ color: rgb(185, 205, 48);
/* oklch */ color: oklch(80.7% 0.172 116.9);
Tailwind
colors: {
  custom: {
    50: '#d2dc75',
    500: '#b9cd30',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd30;
$custom-light: #d2dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd30",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 48
  },
  "hsl": {
    "h": 67.643,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.80651,
    "c": 0.17172,
    "h": 116.9
  },
  "luminance": 0.5419
}

Semantic roles & 50–950 ramp

primary
#B9CD30
secondary
#372E74
accent
#43E557
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CD30

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

Preview Lab → · Contrast checker → · Palette generator →

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