#B9C02B#B9C02B

#B9C02B is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.161 H 112.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B9C02B
RGBrgb(185, 192, 43)
HSLhsl(63, 63%, 46%)
HSVhsv(63, 78%, 75%)
CMYKcmyk(3.6%, 0%, 77.6%, 24.7%)
CIE-LABlab(74.94, -19.52, 68.04)
CIE-LCHlch(74.94, 70.79, 106.01°)
OKLaboklab(77.73% -0.0611 0.1484)
OKLCHoklch(77.73% 0.161 112.4)
XYZxyz(39.2946, 48.1889, 9.5165)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C02B #322BC0
analogous
#C07C2B #B9C02B #6EC02B
triadic
#B9C02B #2BB9C0 #C02BB9
tetradic
#B9C02B #2BC07C #322BC0 #C02B6E
square
#B9C02B #2BC07C #322BC0 #C02B6E
split-complementary
#B9C02B #2B6EC0 #7C2BC0
monochromatic
#595C15 #898E20 #B9C02B #D2D850 #DFE382

Accessibility & contrast

On white

1.97
#B9C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B9C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C02B
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C02B#FFFFFF#000000##000000
##B9C02B1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CFBA39
Tritanopia (blue-blind)
#C6B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9c02b;
/* rgb */ color: rgb(185, 192, 43);
/* oklch */ color: oklch(77.7% 0.161 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d271',
    500: '#b9c02b',
    950: '#000000',
  },
}
SCSS
$custom: #b9c02b;
$custom-light: #d2d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c02b",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 62.819,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77731,
    "c": 0.1605,
    "h": 112.4
  },
  "luminance": 0.48188
}

Semantic roles & 50–950 ramp

primary
#B9C02B
secondary
#7F7BCC
accent
#41E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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