#B9CF3A#B9CF3A

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

Color values

HEX#B9CF3A
RGBrgb(185, 207, 58)
HSLhsl(69, 61%, 52%)
HSVhsv(69, 72%, 81%)
CMYKcmyk(10.6%, 0%, 72%, 18.8%)
CIE-LABlab(79.18, -26.18, 67.18)
CIE-LCHlch(79.18, 72.10, 111.29°)
OKLaboklab(81.16% -0.0783 0.1492)
OKLCHoklch(81.16% 0.168 117.7)
XYZxyz(43.0851, 55.2459, 12.3960)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF3A #503ACF
analogous
#CF9B3A #B9CF3A #6FCF3A
triadic
#B9CF3A #3AB9CF #CF3AB9
tetradic
#B9CF3A #3ACF9B #503ACF #CF3A6F
square
#B9CF3A #3ACF9B #503ACF #CF3A6F
split-complementary
#B9CF3A #3A6FCF #9B3ACF
monochromatic
#66731C #92A428 #B9CF3A #CADB6B #DCE79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9CF3A#FFFFFF#000000##000000
##B9CF3A1.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)
#DDC41D
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#C4C4B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b9cf3a;
/* rgb */ color: rgb(185, 207, 58);
/* oklch */ color: oklch(81.2% 0.168 117.7);
Tailwind
colors: {
  custom: {
    50: '#d2dd7a',
    500: '#b9cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf3a;
$custom-light: #d2dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf3a",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 68.859,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81158,
    "c": 0.16847,
    "h": 117.7
  },
  "luminance": 0.55245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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