#B9C12D#B9C12D

#B9C12D is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.161 H 112.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B9C12D
RGBrgb(185, 193, 45)
HSLhsl(63, 62%, 47%)
HSVhsv(63, 77%, 76%)
CMYKcmyk(4.1%, 0%, 76.7%, 24.3%)
CIE-LABlab(75.23, -19.94, 67.70)
CIE-LCHlch(75.23, 70.58, 106.41°)
OKLaboklab(77.96% -0.0621 0.148)
OKLCHoklch(77.96% 0.161 112.8)
XYZxyz(39.5525, 48.6446, 9.7879)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C12D #352DC1
analogous
#C17F2D #B9C12D #6FC12D
triadic
#B9C12D #2DB9C1 #C12DB9
tetradic
#B9C12D #2DC17F #352DC1 #C12D6F
square
#B9C12D #2DC17F #352DC1 #C12D6F
split-complementary
#B9C12D #2D6FC1 #7F2DC1
monochromatic
#5A5E16 #898F21 #B9C12D #D0D754 #DEE386

Accessibility & contrast

On white

1.96
#B9C12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B9C12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C12D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C12D#FFFFFF#000000##000000
##B9C12D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D0BB3A
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c12d;
/* rgb */ color: rgb(185, 193, 45);
/* oklch */ color: oklch(78.0% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d372',
    500: '#b9c12d',
    950: '#000000',
  },
}
SCSS
$custom: #b9c12d;
$custom-light: #d2d372;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c12d",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 63.243,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77963,
    "c": 0.16054,
    "h": 112.8
  },
  "luminance": 0.48644
}

Semantic roles & 50–950 ramp

primary
#B9C12D
secondary
#827ECC
accent
#43E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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