#B4C045#B4C045

#B4C045 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.146 H 114.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B4C045
RGBrgb(180, 192, 69)
HSLhsl(66, 49%, 51%)
HSVhsv(66, 64%, 75%)
CMYKcmyk(6.2%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.72, -20.29, 58.39)
CIE-LCHlch(74.72, 61.81, 109.16°)
OKLaboklab(77.51% -0.0606 0.1325)
OKLCHoklch(77.51% 0.146 114.6)
XYZxyz(38.7471, 47.8329, 12.8206)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C045 #5145C0
analogous
#C08E45 #B4C045 #76C045
triadic
#B4C045 #45B4C0 #C045B4
tetradic
#B4C045 #45C08E #5145C0 #C04576
square
#B4C045 #45C08E #5145C0 #C04576
split-complementary
#B4C045 #4576C0 #8E45C0
monochromatic
#616823 #8C9533 #B4C045 #C6CF73 #D9DFA0

Accessibility & contrast

On white

1.99
#B4C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B4C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C045
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C045#FFFFFF#000000##000000
##B4C0451.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c045;
/* rgb */ color: rgb(180, 192, 69);
/* oklch */ color: oklch(77.5% 0.146 114.6);
Tailwind
colors: {
  custom: {
    50: '#cdd27f',
    500: '#b4c045',
    950: '#000000',
  },
}
SCSS
$custom: #b4c045;
$custom-light: #cdd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c045",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 65.854,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77508,
    "c": 0.1457,
    "h": 114.6
  },
  "luminance": 0.47832
}

Semantic roles & 50–950 ramp

primary
#B4C045
secondary
#9B95CC
accent
#4FD95C
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B4C045

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

Preview Lab → · Contrast checker → · Palette generator →

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