#B5C031#B5C031

#B5C031 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.159 H 114.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B5C031
RGBrgb(181, 192, 49)
HSLhsl(65, 59%, 47%)
HSVhsv(65, 74%, 75%)
CMYKcmyk(5.7%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.66, -20.97, 65.80)
CIE-LCHlch(74.66, 69.06, 107.68°)
OKLaboklab(77.44% -0.0644 0.1448)
OKLCHoklch(77.44% 0.159 114)
XYZxyz(38.4612, 47.7456, 10.0949)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C031 #3C31C0
analogous
#C08331 #B5C031 #6EC031
triadic
#B5C031 #31B5C0 #C031B5
tetradic
#B5C031 #31C083 #3C31C0 #C0316E
square
#B5C031 #31C083 #3C31C0 #C0316E
split-complementary
#B5C031 #316EC0 #8331C0
monochromatic
#595E18 #878F25 #B5C031 #CBD559 #DBE18A

Accessibility & contrast

On white

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

On black

10.55
#B5C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C031
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C031#FFFFFF#000000##000000
##B5C0311.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c031;
/* rgb */ color: rgb(181, 192, 49);
/* oklch */ color: oklch(77.4% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd274',
    500: '#b5c031',
    950: '#000000',
  },
}
SCSS
$custom: #b5c031;
$custom-light: #cfd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c031",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 64.615,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7744,
    "c": 0.15853,
    "h": 114
  },
  "luminance": 0.47745
}

Semantic roles & 50–950 ramp

primary
#B5C031
secondary
#8782CB
accent
#45E351
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C031

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

Preview Lab → · Contrast checker → · Palette generator →

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