#B8CF38#B8CF38

#B8CF38 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.1% C 0.170 H 118.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#B8CF38
RGBrgb(184, 207, 56)
HSLhsl(69, 61%, 52%)
HSVhsv(69, 73%, 81%)
CMYKcmyk(11.1%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.10, -26.69, 67.75)
CIE-LCHlch(79.10, 72.82, 111.50°)
OKLaboklab(81.07% -0.0798 0.1501)
OKLCHoklch(81.07% 0.17 118)
XYZxyz(42.7948, 55.1019, 12.1219)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CF38 #4F38CF
analogous
#CF9B38 #B8CF38 #6DCF38
triadic
#B8CF38 #38B8CF #CF38B8
tetradic
#B8CF38 #38CF9B #4F38CF #CF386D
square
#B8CF38 #38CF9B #4F38CF #CF386D
split-complementary
#B8CF38 #386DCF #9B38CF
monochromatic
#64711B #90A327 #B8CF38 #CADB69 #DBE79B

Accessibility & contrast

On white

1.75
#B8CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#B8CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CF38
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CF38#FFFFFF#000000##000000
##B8CF381.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DAC545
Tritanopia (blue-blind)
#C3C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b8cf38;
/* rgb */ color: rgb(184, 207, 56);
/* oklch */ color: oklch(81.1% 0.170 118.0);
Tailwind
colors: {
  custom: {
    50: '#d1dd79',
    500: '#b8cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b8cf38;
$custom-light: #d1dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cf38",
  "rgb": {
    "r": 184,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 69.139,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.16998,
    "h": 118
  },
  "luminance": 0.55102
}

Semantic roles & 50–950 ramp

primary
#B8CF38
secondary
#3C317A
accent
#44E45C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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