#B9C262#B9C262

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

Color values

HEX#B9C262
RGBrgb(185, 194, 98)
HSLhsl(66, 44%, 57%)
HSVhsv(66, 49%, 76%)
CMYKcmyk(4.6%, 0%, 49.5%, 23.9%)
CIE-LABlab(75.93, -16.93, 46.79)
CIE-LCHlch(75.93, 49.76, 109.89°)
OKLaboklab(78.66% -0.0485 0.1109)
OKLCHoklch(78.66% 0.121 113.6)
XYZxyz(41.5047, 49.7804, 18.9750)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C262 #6B62C2
analogous
#C29B62 #B9C262 #89C262
triadic
#B9C262 #62B9C2 #C262B9
tetradic
#B9C262 #62C29B #6B62C2 #C26289
square
#B9C262 #62C29B #6B62C2 #C26289
split-complementary
#B9C262 #6289C2 #9B62C2
monochromatic
#737A2F #9DA641 #B9C262 #CDD38E #E0E4BA

Accessibility & contrast

On white

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

On black

10.96
#B9C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C262
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C262#FFFFFF#000000##000000
##B9C2621.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c262;
/* rgb */ color: rgb(185, 194, 98);
/* oklch */ color: oklch(78.7% 0.121 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d491',
    500: '#b9c262',
    950: '#000000',
  },
}
SCSS
$custom: #b9c262;
$custom-light: #d0d491;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c262",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 65.625,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78665,
    "c": 0.12105,
    "h": 113.6
  },
  "luminance": 0.4978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9C262

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

Preview Lab → · Contrast checker → · Palette generator →

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