#B5C145#B5C145

#B5C145 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.147 H 114.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#B5C145
RGBrgb(181, 193, 69)
HSLhsl(66, 50%, 51%)
HSVhsv(66, 64%, 76%)
CMYKcmyk(6.2%, 0%, 64.2%, 24.3%)
CIE-LABlab(75.07, -20.37, 58.78)
CIE-LCHlch(75.07, 62.21, 109.11°)
OKLaboklab(77.81% -0.0609 0.1333)
OKLCHoklch(77.81% 0.147 114.5)
XYZxyz(39.2012, 48.3940, 12.9050)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C145 #5145C1
analogous
#C18F45 #B5C145 #77C145
triadic
#B5C145 #45B5C1 #C145B5
tetradic
#B5C145 #45C18F #5145C1 #C14577
square
#B5C145 #45C18F #5145C1 #C14577
split-complementary
#B5C145 #4577C1 #8F45C1
monochromatic
#626923 #8D9732 #B5C145 #C7D073 #DAE0A1

Accessibility & contrast

On white

1.97
#B5C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#B5C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C145
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C145#FFFFFF#000000##000000
##B5C1451.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB835
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#C0B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c145;
/* rgb */ color: rgb(181, 193, 69);
/* oklch */ color: oklch(77.8% 0.147 114.5);
Tailwind
colors: {
  custom: {
    50: '#ced37f',
    500: '#b5c145',
    950: '#000000',
  },
}
SCSS
$custom: #b5c145;
$custom-light: #ced37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c145",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 65.806,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7781,
    "c": 0.14656,
    "h": 114.5
  },
  "luminance": 0.48393
}

Semantic roles & 50–950 ramp

primary
#B5C145
secondary
#9B96CC
accent
#4EDA5C
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5C145

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

Preview Lab → · Contrast checker → · Palette generator →

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