#B9C038#B9C038

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

Color values

HEX#B9C038
RGBrgb(185, 192, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.6%, 0%, 70.8%, 24.7%)
CIE-LABlab(75.01, -18.95, 63.83)
CIE-LCHlch(75.01, 66.58, 106.53°)
OKLaboklab(77.81% -0.0584 0.1418)
OKLCHoklch(77.81% 0.153 112.4)
XYZxyz(39.5723, 48.3000, 10.9789)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C038 #3F38C0
analogous
#C08338 #B9C038 #75C038
triadic
#B9C038 #38B9C0 #C038B9
tetradic
#B9C038 #38C083 #3F38C0 #C03875
square
#B9C038 #38C083 #3F38C0 #C03875
split-complementary
#B9C038 #3875C0 #8338C0
monochromatic
#5E611C #8B912A #B9C038 #CCD264 #DCDF93

Accessibility & contrast

On white

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

On black

10.66
#B9C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C038
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C038#FFFFFF#000000##000000
##B9C0381.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB720
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#C6B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c038;
/* rgb */ color: rgb(185, 192, 56);
/* oklch */ color: oklch(77.8% 0.153 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d278',
    500: '#b9c038',
    950: '#000000',
  },
}
SCSS
$custom: #b9c038;
$custom-light: #d1d278;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c038",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 63.088,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77809,
    "c": 0.15333,
    "h": 112.4
  },
  "luminance": 0.48299
}

Semantic roles & 50–950 ramp

primary
#B9C038
secondary
#8D89CB
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9C038

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

Preview Lab → · Contrast checker → · Palette generator →

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