#B9CC38#B9CC38

#B9CC38 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.166 H 116.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#B9CC38
RGBrgb(185, 204, 56)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 73%, 80%)
CMYKcmyk(9.3%, 0%, 72.5%, 20%)
CIE-LABlab(78.34, -24.84, 67.05)
CIE-LCHlch(78.34, 71.50, 110.33°)
OKLaboklab(80.47% -0.0748 0.1485)
OKLCHoklch(80.47% 0.166 116.7)
XYZxyz(42.3153, 53.7861, 11.8932)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC38 #4B38CC
analogous
#CC9538 #B9CC38 #6FCC38
triadic
#B9CC38 #38B9CC #CC38B9
tetradic
#B9CC38 #38CC95 #4B38CC #CC386F
square
#B9CC38 #38CC95 #4B38CC #CC386F
split-complementary
#B9CC38 #386FCC #9538CC
monochromatic
#636E1C #8F9E29 #B9CC38 #CAD869 #DBE599

Accessibility & contrast

On white

1.79
#B9CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#B9CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC38
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC38#FFFFFF#000000##000000
##B9CC381.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc38;
/* rgb */ color: rgb(185, 204, 56);
/* oklch */ color: oklch(80.5% 0.166 116.7);
Tailwind
colors: {
  custom: {
    50: '#d2db79',
    500: '#b9cc38',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc38;
$custom-light: #d2db79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc38",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 67.703,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80474,
    "c": 0.1663,
    "h": 116.7
  },
  "luminance": 0.53786
}

Semantic roles & 50–950 ramp

primary
#B9CC38
secondary
#3A3177
accent
#45E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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