#B9C261#B9C261

#B9C261 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.7% C 0.122 H 113.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#B9C261
RGBrgb(185, 194, 97)
HSLhsl(66, 44%, 57%)
HSVhsv(66, 50%, 76%)
CMYKcmyk(4.6%, 0%, 50%, 23.9%)
CIE-LABlab(75.92, -17.03, 47.26)
CIE-LCHlch(75.92, 50.23, 109.81°)
OKLaboklab(78.65% -0.0488 0.1119)
OKLCHoklch(78.65% 0.122 113.6)
XYZxyz(41.4577, 49.7616, 18.7279)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C261 #6A61C2
analogous
#C29B61 #B9C261 #89C261
triadic
#B9C261 #61B9C2 #C261B9
tetradic
#B9C261 #61C29B #6A61C2 #C26189
square
#B9C261 #61C29B #6A61C2 #C26189
split-complementary
#B9C261 #6189C2 #9B61C2
monochromatic
#737A2F #9CA640 #B9C261 #CDD38D #E0E4B9

Accessibility & contrast

On white

1.92
#B9C261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#B9C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C261
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C261#FFFFFF#000000##000000
##B9C2611.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA58
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#C3B8AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c261;
/* rgb */ color: rgb(185, 194, 97);
/* oklch */ color: oklch(78.7% 0.122 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d490',
    500: '#b9c261',
    950: '#000000',
  },
}
SCSS
$custom: #b9c261;
$custom-light: #d0d490;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c261",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 65.567,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78652,
    "c": 0.12204,
    "h": 113.6
  },
  "luminance": 0.49761
}

Semantic roles & 50–950 ramp

primary
#B9C261
secondary
#AFACD3
accent
#54D460
background
#FDFCF9
surface
#FAF9F1
border
#D3D2CB
text
#14140D
muted
#83827E

Preview Lab

Preview with #B9C261

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

Preview Lab → · Contrast checker → · Palette generator →

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