#B5C231#B5C231

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

Color values

HEX#B5C231
RGBrgb(181, 194, 49)
HSLhsl(65, 60%, 48%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(6.7%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.22, -21.95, 66.32)
CIE-LCHlch(75.22, 69.86, 108.32°)
OKLaboklab(77.89% -0.0672 0.1459)
OKLCHoklch(77.89% 0.161 114.7)
XYZxyz(38.9033, 48.6298, 10.2423)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C231 #3E31C2
analogous
#C28631 #B5C231 #6DC231
triadic
#B5C231 #31B5C2 #C231B5
tetradic
#B5C231 #31C286 #3E31C2 #C2316D
square
#B5C231 #31C286 #3E31C2 #C2316D
split-complementary
#B5C231 #316DC2 #8631C2
monochromatic
#5A6018 #879125 #B5C231 #CAD65B #DAE28C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C231#FFFFFF#000000##000000
##B5C2311.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)
#D0B80E
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#C1B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c231;
/* rgb */ color: rgb(181, 194, 49);
/* oklch */ color: oklch(77.9% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#cfd474',
    500: '#b5c231',
    950: '#000000',
  },
}
SCSS
$custom: #b5c231;
$custom-light: #cfd474;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c231",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 65.379,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77886,
    "c": 0.16066,
    "h": 114.7
  },
  "luminance": 0.48629
}

Semantic roles & 50–950 ramp

primary
#B5C231
secondary
#8983CC
accent
#45E353
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C231

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

Preview Lab → · Contrast checker → · Palette generator →

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