#B8CB38#B8CB38

#B8CB38 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.166 H 116.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#B8CB38
RGBrgb(184, 203, 56)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.4%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.99, -24.76, 66.68)
CIE-LCHlch(77.99, 71.13, 110.37°)
OKLaboklab(80.17% -0.0745 0.1478)
OKLCHoklch(80.17% 0.166 116.8)
XYZxyz(41.8379, 53.1883, 11.8030)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CB38 #4B38CB
analogous
#CB9438 #B8CB38 #6ECB38
triadic
#B8CB38 #38B8CB #CB38B8
tetradic
#B8CB38 #38CB94 #4B38CB #CB386E
square
#B8CB38 #38CB94 #4B38CB #CB386E
split-complementary
#B8CB38 #386ECB #9438CB
monochromatic
#626C1C #8E9D29 #B8CB38 #C9D869 #DBE499

Accessibility & contrast

On white

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

On black

11.64
#B8CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CB38
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CB38#FFFFFF#000000##000000
##B8CB381.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8cb38;
/* rgb */ color: rgb(184, 203, 56);
/* oklch */ color: oklch(80.2% 0.166 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1da79',
    500: '#b8cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b8cb38;
$custom-light: #d1da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cb38",
  "rgb": {
    "r": 184,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 67.755,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80174,
    "c": 0.16554,
    "h": 116.8
  },
  "luminance": 0.53188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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