#B8C124#B8C124

#B8C124 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.8% C 0.165 H 113.1°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B8C124
RGBrgb(184, 193, 36)
HSLhsl(63, 69%, 45%)
HSVhsv(63, 81%, 76%)
CMYKcmyk(4.7%, 0%, 81.3%, 24.3%)
CIE-LABlab(75.11, -20.69, 70.10)
CIE-LCHlch(75.11, 73.09, 106.44°)
OKLaboklab(77.84% -0.0648 0.1516)
OKLCHoklch(77.84% 0.165 113.1)
XYZxyz(39.1569, 48.4586, 8.9595)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C124 #2D24C1
analogous
#C17B24 #B8C124 #6AC124
triadic
#B8C124 #24B8C1 #C124B8
tetradic
#B8C124 #24C17B #2D24C1 #C1246A
square
#B8C124 #24C17B #2D24C1 #C1246A
split-complementary
#B8C124 #246AC1 #7B24C1
monochromatic
#565A11 #878D1A #B8C124 #D4DC46 #E0E679

Accessibility & contrast

On white

1.96
#B8C124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#B8C124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C124
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C124#FFFFFF#000000##000000
##B8C1241.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D0BA34
Tritanopia (blue-blind)
#C5B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b8c124;
/* rgb */ color: rgb(184, 193, 36);
/* oklch */ color: oklch(77.8% 0.165 113.1);
Tailwind
colors: {
  custom: {
    50: '#d1d36f',
    500: '#b8c124',
    950: '#000000',
  },
}
SCSS
$custom: #b8c124;
$custom-light: #d1d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c124",
  "rgb": {
    "r": 184,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 63.439,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77838,
    "c": 0.1649,
    "h": 113.1
  },
  "luminance": 0.48458
}

Semantic roles & 50–950 ramp

primary
#B8C124
secondary
#7873CE
accent
#3CEB46
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B8C124

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

Preview Lab → · Contrast checker → · Palette generator →

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