#B9CB38#B9CB38

#B9CB38 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.165 H 116.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B9CB38
RGBrgb(185, 203, 56)
HSLhsl(67, 59%, 51%)
HSVhsv(67, 72%, 80%)
CMYKcmyk(8.9%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.06, -24.35, 66.78)
CIE-LCHlch(78.06, 71.08, 110.04°)
OKLaboklab(80.25% -0.0734 0.148)
OKLCHoklch(80.25% 0.165 116.4)
XYZxyz(42.0784, 53.3123, 11.8142)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CB38 #4A38CB
analogous
#CB9338 #B9CB38 #6FCB38
triadic
#B9CB38 #38B9CB #CB38B9
tetradic
#B9CB38 #38CB93 #4A38CB #CB386F
square
#B9CB38 #38CB93 #4A38CB #CB386F
split-complementary
#B9CB38 #386FCB #9338CB
monochromatic
#636C1C #8F9D29 #B9CB38 #CAD869 #DBE499

Accessibility & contrast

On white

1.80
#B9CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B9CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CB38
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CB38#FFFFFF#000000##000000
##B9CB381.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#C5BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9cb38;
/* rgb */ color: rgb(185, 203, 56);
/* oklch */ color: oklch(80.3% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2da79',
    500: '#b9cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b9cb38;
$custom-light: #d2da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cb38",
  "rgb": {
    "r": 185,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 67.347,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80251,
    "c": 0.1652,
    "h": 116.4
  },
  "luminance": 0.53312
}

Semantic roles & 50–950 ramp

primary
#B9CB38
secondary
#3A3176
accent
#46E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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