#B5C233#B5C233

#B5C233 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.160 H 114.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B5C233
RGBrgb(181, 194, 51)
HSLhsl(65, 58%, 48%)
HSVhsv(65, 74%, 76%)
CMYKcmyk(6.7%, 0%, 73.7%, 23.9%)
CIE-LABlab(75.23, -21.86, 65.67)
CIE-LCHlch(75.23, 69.21, 108.41°)
OKLaboklab(77.9% -0.0667 0.1449)
OKLCHoklch(77.9% 0.16 114.7)
XYZxyz(38.9465, 48.6471, 10.4695)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C233 #4033C2
analogous
#C28833 #B5C233 #6DC233
triadic
#B5C233 #33B5C2 #C233B5
tetradic
#B5C233 #33C288 #4033C2 #C2336D
square
#B5C233 #33C288 #4033C2 #C2336D
split-complementary
#B5C233 #336DC2 #8833C2
monochromatic
#5B611A #889226 #B5C233 #CAD55E #DAE18E

Accessibility & contrast

On white

1.96
#B5C233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B5C233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C233
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C233#FFFFFF#000000##000000
##B5C2331.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B814
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#C1B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c233;
/* rgb */ color: rgb(181, 194, 51);
/* oklch */ color: oklch(77.9% 0.160 114.7);
Tailwind
colors: {
  custom: {
    50: '#cfd475',
    500: '#b5c233',
    950: '#000000',
  },
}
SCSS
$custom: #b5c233;
$custom-light: #cfd475;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c233",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 65.455,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77898,
    "c": 0.15954,
    "h": 114.7
  },
  "luminance": 0.48646
}

Semantic roles & 50–950 ramp

primary
#B5C233
secondary
#8B85CC
accent
#46E254
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C233

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

Preview Lab → · Contrast checker → · Palette generator →

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