#B9CF38#B9CF38

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

Color values

HEX#B9CF38
RGBrgb(185, 207, 56)
HSLhsl(69, 61%, 52%)
HSVhsv(69, 73%, 81%)
CMYKcmyk(10.6%, 0%, 72.9%, 18.8%)
CIE-LABlab(79.17, -26.28, 67.85)
CIE-LCHlch(79.17, 72.76, 111.17°)
OKLaboklab(81.15% -0.0788 0.1502)
OKLCHoklch(81.15% 0.17 117.7)
XYZxyz(43.0352, 55.2259, 12.1332)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF38 #4E38CF
analogous
#CF9A38 #B9CF38 #6ECF38
triadic
#B9CF38 #38B9CF #CF38B9
tetradic
#B9CF38 #38CF9A #4E38CF #CF386E
square
#B9CF38 #38CF9A #4E38CF #CF386E
split-complementary
#B9CF38 #386ECF #9A38CF
monochromatic
#65711B #91A327 #B9CF38 #CADB69 #DCE79B

Accessibility & contrast

On white

1.74
#B9CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#B9CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CF38
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CF38#FFFFFF#000000##000000
##B9CF381.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cf38;
/* rgb */ color: rgb(185, 207, 56);
/* oklch */ color: oklch(81.1% 0.170 117.7);
Tailwind
colors: {
  custom: {
    50: '#d2dd79',
    500: '#b9cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf38;
$custom-light: #d2dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf38",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 68.742,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81145,
    "c": 0.16963,
    "h": 117.7
  },
  "luminance": 0.55225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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