#B5C538#B5C538

#B5C538 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.160 H 115.9°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B5C538
RGBrgb(181, 197, 56)
HSLhsl(67, 56%, 50%)
HSVhsv(67, 72%, 77%)
CMYKcmyk(8.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.10, -23.09, 64.78)
CIE-LCHlch(76.10, 68.77, 109.62°)
OKLaboklab(78.6% -0.0697 0.1439)
OKLCHoklch(78.6% 0.16 115.9)
XYZxyz(39.7371, 50.0424, 11.3064)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C538 #4838C5
analogous
#C58F38 #B5C538 #6EC538
triadic
#B5C538 #38B5C5 #C538B5
tetradic
#B5C538 #38C58F #4838C5 #C5386E
square
#B5C538 #38C58F #4838C5 #C5386E
split-complementary
#B5C538 #386EC5 #8F38C5
monochromatic
#5D661D #89952A #B5C538 #C7D467 #D9E196

Accessibility & contrast

On white

1.91
#B5C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#B5C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C538
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C538#FFFFFF#000000##000000
##B5C5381.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C1BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c538;
/* rgb */ color: rgb(181, 197, 56);
/* oklch */ color: oklch(78.6% 0.160 115.9);
Tailwind
colors: {
  custom: {
    50: '#cfd678',
    500: '#b5c538',
    950: '#000000',
  },
}
SCSS
$custom: #b5c538;
$custom-light: #cfd678;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c538",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 66.809,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78601,
    "c": 0.15989,
    "h": 115.9
  },
  "luminance": 0.50042
}

Semantic roles & 50–950 ramp

primary
#B5C538
secondary
#383170
accent
#49DF5A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C538

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

Preview Lab → · Contrast checker → · Palette generator →

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