#B9CD34#B9CD34

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

Color values

HEX#B9CD34
RGBrgb(185, 205, 52)
HSLhsl(68, 60%, 50%)
HSVhsv(68, 75%, 80%)
CMYKcmyk(9.8%, 0%, 74.6%, 19.6%)
CIE-LABlab(78.59, -25.51, 68.61)
CIE-LCHlch(78.59, 73.20, 110.39°)
OKLaboklab(80.67% -0.077 0.1512)
OKLCHoklch(80.67% 0.17 117)
XYZxyz(42.4598, 54.2254, 11.4779)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD34 #4834CD
analogous
#CD9434 #B9CD34 #6CCD34
triadic
#B9CD34 #34B9CD #CD34B9
tetradic
#B9CD34 #34CD94 #4834CD #CD346C
square
#B9CD34 #34CD94 #4834CD #CD346C
split-complementary
#B9CD34 #346CCD #9434CD
monochromatic
#616C1B #8E9D27 #B9CD34 #CAD965 #DBE596

Accessibility & contrast

On white

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

On black

11.85
#B9CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD34
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD34#FFFFFF#000000##000000
##B9CD341.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cd34;
/* rgb */ color: rgb(185, 205, 52);
/* oklch */ color: oklch(80.7% 0.170 117.0);
Tailwind
colors: {
  custom: {
    50: '#d2dc77',
    500: '#b9cd34',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd34;
$custom-light: #d2dc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd34",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 67.843,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80673,
    "c": 0.16965,
    "h": 117
  },
  "luminance": 0.54225
}

Semantic roles & 50–950 ramp

primary
#B9CD34
secondary
#393076
accent
#44E459
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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