#B8C030#B8C030

#B8C030 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.7% C 0.158 H 112.8°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B8C030
RGBrgb(184, 192, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(4.2%, 0%, 75%, 24.7%)
CIE-LABlab(74.89, -19.74, 66.42)
CIE-LCHlch(74.89, 69.29, 106.55°)
OKLaboklab(77.68% -0.0613 0.1459)
OKLCHoklch(77.68% 0.158 112.8)
XYZxyz(39.1516, 48.1039, 10.0183)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C030 #3830C0
analogous
#C08030 #B8C030 #70C030
triadic
#B8C030 #30B8C0 #C030B8
tetradic
#B8C030 #30C080 #3830C0 #C03070
square
#B8C030 #30C080 #3830C0 #C03070
split-complementary
#B8C030 #3070C0 #8030C0
monochromatic
#5A5E18 #898F24 #B8C030 #CED558 #DDE189

Accessibility & contrast

On white

1.98
#B8C030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#B8C030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C030
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C030#FFFFFF#000000##000000
##B8C0301.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70D
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C5B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8c030;
/* rgb */ color: rgb(184, 192, 48);
/* oklch */ color: oklch(77.7% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#d1d274',
    500: '#b8c030',
    950: '#000000',
  },
}
SCSS
$custom: #b8c030;
$custom-light: #d1d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c030",
  "rgb": {
    "r": 184,
    "g": 192,
    "b": 48
  },
  "hsl": {
    "h": 63.333,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77677,
    "c": 0.15822,
    "h": 112.8
  },
  "luminance": 0.48103
}

Semantic roles & 50–950 ramp

primary
#B8C030
secondary
#8580CB
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8C030

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

Preview Lab → · Contrast checker → · Palette generator →

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