#B5C045#B5C045

#B5C045 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.145 H 114.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B5C045
RGBrgb(181, 192, 69)
HSLhsl(65, 49%, 51%)
HSVhsv(65, 64%, 75%)
CMYKcmyk(5.7%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.80, -19.88, 58.49)
CIE-LCHlch(74.80, 61.77, 108.77°)
OKLaboklab(77.59% -0.0595 0.1327)
OKLCHoklch(77.59% 0.145 114.2)
XYZxyz(38.9808, 47.9534, 12.8315)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C045 #5045C0
analogous
#C08D45 #B5C045 #77C045
triadic
#B5C045 #45B5C0 #C045B5
tetradic
#B5C045 #45C08D #5045C0 #C04577
square
#B5C045 #45C08D #5045C0 #C04577
split-complementary
#B5C045 #4577C0 #8D45C0
monochromatic
#616823 #8C9533 #B5C045 #C7CF73 #D9DFA0

Accessibility & contrast

On white

1.98
#B5C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#B5C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C045
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C045#FFFFFF#000000##000000
##B5C0451.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#C0B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c045;
/* rgb */ color: rgb(181, 192, 69);
/* oklch */ color: oklch(77.6% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#ced27f',
    500: '#b5c045',
    950: '#000000',
  },
}
SCSS
$custom: #b5c045;
$custom-light: #ced27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c045",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 65.366,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77587,
    "c": 0.14542,
    "h": 114.2
  },
  "luminance": 0.47953
}

Semantic roles & 50–950 ramp

primary
#B5C045
secondary
#9A95CC
accent
#4FD95B
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5C045

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

Preview Lab → · Contrast checker → · Palette generator →

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