#B5C438#B5C438

#B5C438 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.4% C 0.159 H 115.5°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#B5C438
RGBrgb(181, 196, 56)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 71%, 77%)
CMYKcmyk(7.7%, 0%, 71.4%, 23.1%)
CIE-LABlab(75.82, -22.60, 64.51)
CIE-LCHlch(75.82, 68.35, 109.31°)
OKLaboklab(78.38% -0.0684 0.1433)
OKLCHoklch(78.38% 0.159 115.5)
XYZxyz(39.5108, 49.5898, 11.2310)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C438 #4738C4
analogous
#C48D38 #B5C438 #6FC438
triadic
#B5C438 #38B5C4 #C438B5
tetradic
#B5C438 #38C48D #4738C4 #C4386F
square
#B5C438 #38C48D #4738C4 #C4386F
split-complementary
#B5C438 #386FC4 #8D38C4
monochromatic
#5D651D #89942A #B5C438 #C8D366 #D9E196

Accessibility & contrast

On white

1.92
#B5C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#B5C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C438
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C438#FFFFFF#000000##000000
##B5C4381.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c438;
/* rgb */ color: rgb(181, 196, 56);
/* oklch */ color: oklch(78.4% 0.159 115.5);
Tailwind
colors: {
  custom: {
    50: '#cfd578',
    500: '#b5c438',
    950: '#000000',
  },
}
SCSS
$custom: #b5c438;
$custom-light: #cfd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c438",
  "rgb": {
    "r": 181,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 66.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78377,
    "c": 0.15879,
    "h": 115.5
  },
  "luminance": 0.49589
}

Semantic roles & 50–950 ramp

primary
#B5C438
secondary
#938CCC
accent
#49DF59
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C438

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

Preview Lab → · Contrast checker → · Palette generator →

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