#B5C038#B5C038

#B5C038 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.154 H 114.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B5C038
RGBrgb(181, 192, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 75%)
CMYKcmyk(5.7%, 0%, 70.8%, 24.7%)
CIE-LABlab(74.70, -20.63, 63.42)
CIE-LCHlch(74.70, 66.70, 108.02°)
OKLaboklab(77.49% -0.0629 0.141)
OKLCHoklch(77.49% 0.154 114)
XYZxyz(38.6206, 47.8093, 10.9343)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C038 #4338C0
analogous
#C08738 #B5C038 #71C038
triadic
#B5C038 #38B5C0 #C038B5
tetradic
#B5C038 #38C087 #4338C0 #C03871
square
#B5C038 #38C087 #4338C0 #C03871
split-complementary
#B5C038 #3871C0 #8738C0
monochromatic
#5C611C #88912A #B5C038 #C9D264 #D9DF93

Accessibility & contrast

On white

1.99
#B5C038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#B5C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C038
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C038#FFFFFF#000000##000000
##B5C0381.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#C1B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c038;
/* rgb */ color: rgb(181, 192, 56);
/* oklch */ color: oklch(77.5% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd278',
    500: '#b5c038',
    950: '#000000',
  },
}
SCSS
$custom: #b5c038;
$custom-light: #cfd278;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c038",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 64.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77485,
    "c": 0.15441,
    "h": 114
  },
  "luminance": 0.47809
}

Semantic roles & 50–950 ramp

primary
#B5C038
secondary
#8F89CB
accent
#4ADE56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C038

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

Preview Lab → · Contrast checker → · Palette generator →

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