#B4C745#B4C745

#B4C745 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.154 H 117.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B4C745
RGBrgb(180, 199, 69)
HSLhsl(69, 54%, 53%)
HSVhsv(69, 65%, 78%)
CMYKcmyk(9.5%, 0%, 65.3%, 22%)
CIE-LABlab(76.67, -23.73, 60.42)
CIE-LCHlch(76.67, 64.92, 111.44°)
OKLaboklab(79.07% -0.0702 0.1368)
OKLCHoklch(79.07% 0.154 117.2)
XYZxyz(40.3208, 50.9803, 13.3451)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C745 #5845C7
analogous
#C79945 #B4C745 #73C745
triadic
#B4C745 #45B4C7 #C745B4
tetradic
#B4C745 #45C799 #5845C7 #C74573
square
#B4C745 #45C799 #5845C7 #C74573
split-complementary
#B4C745 #4573C7 #9945C7
monochromatic
#647022 #8F9F30 #B4C745 #C7D574 #DAE3A3

Accessibility & contrast

On white

1.88
#B4C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B4C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C745
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C745#FFFFFF#000000##000000
##B4C7451.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c745;
/* rgb */ color: rgb(180, 199, 69);
/* oklch */ color: oklch(79.1% 0.154 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd77f',
    500: '#b4c745',
    950: '#000000',
  },
}
SCSS
$custom: #b4c745;
$custom-light: #cdd77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c745",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 68.769,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7907,
    "c": 0.15377,
    "h": 117.2
  },
  "luminance": 0.5098
}

Semantic roles & 50–950 ramp

primary
#B4C745
secondary
#413779
accent
#4BDD60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C745

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

Preview Lab → · Contrast checker → · Palette generator →

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