#B9C02F#B9C02F

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

Color values

HEX#B9C02F
RGBrgb(185, 192, 47)
HSLhsl(63, 61%, 47%)
HSVhsv(63, 76%, 75%)
CMYKcmyk(3.6%, 0%, 75.5%, 24.7%)
CIE-LABlab(74.96, -19.36, 66.83)
CIE-LCHlch(74.96, 69.58, 106.16°)
OKLaboklab(77.75% -0.0604 0.1465)
OKLCHoklch(77.75% 0.158 112.4)
XYZxyz(39.3716, 48.2197, 9.9221)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C02F #362FC0
analogous
#C07F2F #B9C02F #70C02F
triadic
#B9C02F #2FB9C0 #C02FB9
tetradic
#B9C02F #2FC07F #362FC0 #C02F70
square
#B9C02F #2FC07F #362FC0 #C02F70
split-complementary
#B9C02F #2F70C0 #7F2FC0
monochromatic
#5A5E17 #8A8F23 #B9C02F #D0D656 #DDE288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C02F#FFFFFF#000000##000000
##B9C02F1.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)
#CFB709
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#C6B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9c02f;
/* rgb */ color: rgb(185, 192, 47);
/* oklch */ color: oklch(77.8% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d273',
    500: '#b9c02f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c02f;
$custom-light: #d2d273;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c02f",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 62.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77753,
    "c": 0.15848,
    "h": 112.4
  },
  "luminance": 0.48219
}

Semantic roles & 50–950 ramp

primary
#B9C02F
secondary
#837FCB
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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