#B9C657#B9C657

#B9C657 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.136 H 115.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#B9C657
RGBrgb(185, 198, 87)
HSLhsl(67, 49%, 56%)
HSVhsv(67, 56%, 78%)
CMYKcmyk(6.6%, 0%, 56.1%, 22.4%)
CIE-LABlab(76.92, -19.89, 53.09)
CIE-LCHlch(76.92, 56.69, 110.54°)
OKLaboklab(79.41% -0.0579 0.1235)
OKLCHoklch(79.41% 0.136 115.1)
XYZxyz(41.9228, 51.3912, 16.7260)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C657 #6457C6
analogous
#C69B57 #B9C657 #81C657
triadic
#B9C657 #57B9C6 #C657B9
tetradic
#B9C657 #57C69B #6457C6 #C65781
square
#B9C657 #57C69B #6457C6 #C65781
split-complementary
#B9C657 #5781C6 #9B57C6
monochromatic
#707929 #9AA739 #B9C657 #CCD685 #DFE5B2

Accessibility & contrast

On white

1.86
#B9C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#B9C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C657
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C657#FFFFFF#000000##000000
##B9C6571.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4B
Deuteranopia (green-blind)
#D2BF5E
Tritanopia (blue-blind)
#C3BCAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c657;
/* rgb */ color: rgb(185, 198, 87);
/* oklch */ color: oklch(79.4% 0.136 115.1);
Tailwind
colors: {
  custom: {
    50: '#d0d78a',
    500: '#b9c657',
    950: '#000000',
  },
}
SCSS
$custom: #b9c657;
$custom-light: #d0d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c657",
  "rgb": {
    "r": 185,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 67.027,
    "s": 49.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.13637,
    "h": 115.1
  },
  "luminance": 0.51391
}

Semantic roles & 50–950 ramp

primary
#B9C657
secondary
#473F82
accent
#4FD95F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B9C657

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

Preview Lab → · Contrast checker → · Palette generator →

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