#B8C231#B8C231

#B8C231 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.1% C 0.160 H 113.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#B8C231
RGBrgb(184, 194, 49)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 76%)
CMYKcmyk(5.2%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.45, -20.69, 66.61)
CIE-LCHlch(75.45, 69.75, 107.25°)
OKLaboklab(78.13% -0.0638 0.1465)
OKLCHoklch(78.13% 0.16 113.5)
XYZxyz(39.6146, 48.9965, 10.2756)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C231 #3B31C2
analogous
#C28431 #B8C231 #6FC231
triadic
#B8C231 #31B8C2 #C231B8
tetradic
#B8C231 #31C284 #3B31C2 #C2316F
square
#B8C231 #31C284 #3B31C2 #C2316F
split-complementary
#B8C231 #316FC2 #8431C2
monochromatic
#5B6018 #8A9125 #B8C231 #CDD65B #DCE28C

Accessibility & contrast

On white

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

On black

10.80
#B8C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C231
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C231#FFFFFF#000000##000000
##B8C2311.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B80E
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C4B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b8c231;
/* rgb */ color: rgb(184, 194, 49);
/* oklch */ color: oklch(78.1% 0.160 113.5);
Tailwind
colors: {
  custom: {
    50: '#d1d474',
    500: '#b8c231',
    950: '#000000',
  },
}
SCSS
$custom: #b8c231;
$custom-light: #d1d474;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c231",
  "rgb": {
    "r": 184,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 64.138,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.15976,
    "h": 113.5
  },
  "luminance": 0.48996
}

Semantic roles & 50–950 ramp

primary
#B8C231
secondary
#8883CC
accent
#45E350
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8C231

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

Preview Lab → · Contrast checker → · Palette generator →

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