#B9C768#B9C768

#B9C768 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.121 H 116.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#B9C768
RGBrgb(185, 199, 104)
HSLhsl(69, 46%, 59%)
HSVhsv(69, 48%, 78%)
CMYKcmyk(7%, 0%, 47.7%, 22%)
CIE-LABlab(77.38, -18.86, 45.62)
CIE-LCHlch(77.38, 49.37, 112.46°)
OKLaboklab(79.84% -0.0534 0.1088)
OKLCHoklch(79.84% 0.121 116.1)
XYZxyz(42.9302, 52.1611, 20.9005)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C768 #7668C7
analogous
#C7A668 #B9C768 #8AC768
triadic
#B9C768 #68B9C7 #C768B9
tetradic
#B9C768 #68C7A6 #7668C7 #C7688A
square
#B9C768 #68C7A6 #7668C7 #C7688A
split-complementary
#B9C768 #688AC7 #A668C7
monochromatic
#788431 #A0B041 #B9C768 #CED895 #E2E8C1

Accessibility & contrast

On white

1.84
#B9C768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#B9C768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C768
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C768#FFFFFF#000000##000000
##B9C7681.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF60
Deuteranopia (green-blind)
#D1C06D
Tritanopia (blue-blind)
#C2BEB1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c768;
/* rgb */ color: rgb(185, 199, 104);
/* oklch */ color: oklch(79.8% 0.121 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d895',
    500: '#b9c768',
    950: '#000000',
  },
}
SCSS
$custom: #b9c768;
$custom-light: #d0d895;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c768",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 68.842,
    "s": 45.894,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79841,
    "c": 0.12121,
    "h": 116.1
  },
  "luminance": 0.52161
}

Semantic roles & 50–950 ramp

primary
#B9C768
secondary
#52488C
accent
#52D666
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #B9C768

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

Preview Lab → · Contrast checker → · Palette generator →

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