#B9CA38#B9CA38

#B9CA38 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.164 H 116.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#B9CA38
RGBrgb(185, 202, 56)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 72%, 79%)
CMYKcmyk(8.4%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.78, -23.87, 66.51)
CIE-LCHlch(77.78, 70.66, 109.74°)
OKLaboklab(80.03% -0.0721 0.1474)
OKLCHoklch(80.03% 0.164 116.1)
XYZxyz(41.8430, 52.8415, 11.7358)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CA38 #4938CA
analogous
#CA9238 #B9CA38 #70CA38
triadic
#B9CA38 #38B9CA #CA38B9
tetradic
#B9CA38 #38CA92 #4938CA #CA3870
square
#B9CA38 #38CA92 #4938CA #CA3870
split-complementary
#B9CA38 #3870CA #9238CA
monochromatic
#626B1D #8E9B29 #B9CA38 #CAD768 #DBE499

Accessibility & contrast

On white

1.82
#B9CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#B9CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CA38
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CA38#FFFFFF#000000##000000
##B9CA381.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#C5BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9ca38;
/* rgb */ color: rgb(185, 202, 56);
/* oklch */ color: oklch(80.0% 0.164 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da79',
    500: '#b9ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b9ca38;
$custom-light: #d2da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ca38",
  "rgb": {
    "r": 185,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 66.986,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80028,
    "c": 0.1641,
    "h": 116.1
  },
  "luminance": 0.52841
}

Semantic roles & 50–950 ramp

primary
#B9CA38
secondary
#393175
accent
#47E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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