#B4C747#B4C747

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

Color values

HEX#B4C747
RGBrgb(180, 199, 71)
HSLhsl(69, 53%, 53%)
HSVhsv(69, 64%, 78%)
CMYKcmyk(9.5%, 0%, 64.3%, 22%)
CIE-LABlab(76.68, -23.60, 59.63)
CIE-LCHlch(76.68, 64.13, 111.59°)
OKLaboklab(79.09% -0.0697 0.1354)
OKLCHoklch(79.09% 0.152 117.2)
XYZxyz(40.3840, 51.0055, 13.6776)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C747 #5A47C7
analogous
#C79A47 #B4C747 #74C747
triadic
#B4C747 #47B4C7 #C747B4
tetradic
#B4C747 #47C79A #5A47C7 #C74774
square
#B4C747 #47C79A #5A47C7 #C74774
split-complementary
#B4C747 #4774C7 #9A47C7
monochromatic
#657122 #90A031 #B4C747 #C7D576 #DAE4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C747#FFFFFF#000000##000000
##B4C7471.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD36
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#BEBCAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c747;
/* rgb */ color: rgb(180, 199, 71);
/* oklch */ color: oklch(79.1% 0.152 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd780',
    500: '#b4c747',
    950: '#000000',
  },
}
SCSS
$custom: #b4c747;
$custom-light: #cdd780;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c747",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 68.906,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79087,
    "c": 0.15228,
    "h": 117.2
  },
  "luminance": 0.51005
}

Semantic roles & 50–950 ramp

primary
#B4C747
secondary
#42387A
accent
#4BDD61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4C747

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

Preview Lab → · Contrast checker → · Palette generator →

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