#B8C438#B8C438

#B8C438 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.158 H 114.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#B8C438
RGBrgb(184, 196, 56)
HSLhsl(65, 56%, 49%)
HSVhsv(65, 71%, 77%)
CMYKcmyk(6.1%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.04, -21.35, 64.81)
CIE-LCHlch(76.04, 68.23, 108.23°)
OKLaboklab(78.61% -0.065 0.1439)
OKLCHoklch(78.61% 0.158 114.3)
XYZxyz(40.2220, 49.9565, 11.2643)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C438 #4438C4
analogous
#C48A38 #B8C438 #72C438
triadic
#B8C438 #38B8C4 #C438B8
tetradic
#B8C438 #38C48A #4438C4 #C43872
square
#B8C438 #38C48A #4438C4 #C43872
split-complementary
#B8C438 #3872C4 #8A38C4
monochromatic
#5F651D #8B942A #B8C438 #CAD366 #DAE196

Accessibility & contrast

On white

1.91
#B8C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#B8C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C438
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C438#FFFFFF#000000##000000
##B8C4381.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C4B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b8c438;
/* rgb */ color: rgb(184, 196, 56);
/* oklch */ color: oklch(78.6% 0.158 114.3);
Tailwind
colors: {
  custom: {
    50: '#d1d578',
    500: '#b8c438',
    950: '#000000',
  },
}
SCSS
$custom: #b8c438;
$custom-light: #d1d578;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c438",
  "rgb": {
    "r": 184,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 65.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.15787,
    "h": 114.3
  },
  "luminance": 0.49956
}

Semantic roles & 50–950 ramp

primary
#B8C438
secondary
#918CCC
accent
#49DF56
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B8C438

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

Preview Lab → · Contrast checker → · Palette generator →

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