#B5C333#B5C333

#B5C333 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.161 H 115.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B5C333
RGBrgb(181, 195, 51)
HSLhsl(66, 59%, 48%)
HSVhsv(66, 74%, 76%)
CMYKcmyk(7.2%, 0%, 73.8%, 23.5%)
CIE-LABlab(75.51, -22.35, 65.93)
CIE-LCHlch(75.51, 69.62, 108.73°)
OKLaboklab(78.12% -0.0681 0.1455)
OKLCHoklch(78.12% 0.161 115.1)
XYZxyz(39.1698, 49.0937, 10.5439)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C333 #4133C3
analogous
#C38933 #B5C333 #6DC333
triadic
#B5C333 #33B5C3 #C333B5
tetradic
#B5C333 #33C389 #4133C3 #C3336D
square
#B5C333 #33C389 #4133C3 #C3336D
split-complementary
#B5C333 #336DC3 #8933C3
monochromatic
#5B621A #889226 #B5C333 #C9D55E #DAE28F

Accessibility & contrast

On white

1.94
#B5C333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B5C333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C333
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C333#FFFFFF#000000##000000
##B5C3331.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B914
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c333;
/* rgb */ color: rgb(181, 195, 51);
/* oklch */ color: oklch(78.1% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd575',
    500: '#b5c333',
    950: '#000000',
  },
}
SCSS
$custom: #b5c333;
$custom-light: #cfd575;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c333",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 65.833,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78122,
    "c": 0.16063,
    "h": 115.1
  },
  "luminance": 0.49093
}

Semantic roles & 50–950 ramp

primary
#B5C333
secondary
#8C86CC
accent
#46E255
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C333

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

Preview Lab → · Contrast checker → · Palette generator →

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