#B9C238#B9C238

#B9C238 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.155 H 113.2°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#B9C238
RGBrgb(185, 194, 56)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(4.6%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.57, -19.94, 64.37)
CIE-LCHlch(75.57, 67.39, 107.21°)
OKLaboklab(78.25% -0.0612 0.1429)
OKLCHoklch(78.25% 0.155 113.2)
XYZxyz(40.0144, 49.1842, 11.1262)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C238 #4138C2
analogous
#C28638 #B9C238 #74C238
triadic
#B9C238 #38B9C2 #C238B9
tetradic
#B9C238 #38C286 #4138C2 #C23874
square
#B9C238 #38C286 #4138C2 #C23874
split-complementary
#B9C238 #3874C2 #8638C2
monochromatic
#5E631D #8C932A #B9C238 #CBD265 #DBE094

Accessibility & contrast

On white

1.94
#B9C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#B9C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C238
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C238#FFFFFF#000000##000000
##B9C2381.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#D0BC43
Tritanopia (blue-blind)
#C5B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c238;
/* rgb */ color: rgb(185, 194, 56);
/* oklch */ color: oklch(78.3% 0.155 113.2);
Tailwind
colors: {
  custom: {
    50: '#d1d478',
    500: '#b9c238',
    950: '#000000',
  },
}
SCSS
$custom: #b9c238;
$custom-light: #d1d478;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c238",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 63.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78251,
    "c": 0.15545,
    "h": 113.2
  },
  "luminance": 0.49183
}

Semantic roles & 50–950 ramp

primary
#B9C238
secondary
#8F8ACB
accent
#49DF53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9C238

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

Preview Lab → · Contrast checker → · Palette generator →

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