#B5C745#B5C745

#B5C745 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.1% C 0.153 H 116.8°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#B5C745
RGBrgb(181, 199, 69)
HSLhsl(68, 54%, 53%)
HSVhsv(68, 65%, 78%)
CMYKcmyk(9%, 0%, 65.3%, 22%)
CIE-LABlab(76.74, -23.32, 60.52)
CIE-LCHlch(76.74, 64.86, 111.07°)
OKLaboklab(79.15% -0.0691 0.137)
OKLCHoklch(79.15% 0.153 116.8)
XYZxyz(40.5545, 51.1008, 13.3561)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C745 #5745C7
analogous
#C79845 #B5C745 #74C745
triadic
#B5C745 #45B5C7 #C745B5
tetradic
#B5C745 #45C798 #5745C7 #C74574
square
#B5C745 #45C798 #5745C7 #C74574
split-complementary
#B5C745 #4574C7 #9845C7
monochromatic
#657022 #909F30 #B5C745 #C8D574 #DAE3A3

Accessibility & contrast

On white

1.87
#B5C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#B5C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C745
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C745#FFFFFF#000000##000000
##B5C7451.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD33
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#C0BCAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c745;
/* rgb */ color: rgb(181, 199, 69);
/* oklch */ color: oklch(79.1% 0.153 116.8);
Tailwind
colors: {
  custom: {
    50: '#ced77f',
    500: '#b5c745',
    950: '#000000',
  },
}
SCSS
$custom: #b5c745;
$custom-light: #ced77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c745",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 68.308,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79147,
    "c": 0.15344,
    "h": 116.8
  },
  "luminance": 0.511
}

Semantic roles & 50–950 ramp

primary
#B5C745
secondary
#403779
accent
#4BDD5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5C745

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

Preview Lab → · Contrast checker → · Palette generator →

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