#B4B72C#B4B72C

#B4B72C is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.152 H 110.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#B4B72C
RGBrgb(180, 183, 44)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 72%)
CMYKcmyk(1.6%, 0%, 76%, 28.2%)
CIE-LABlab(72.06, -17.11, 64.97)
CIE-LCHlch(72.06, 67.19, 104.75°)
OKLaboklab(75.33% -0.0541 0.1422)
OKLCHoklch(75.33% 0.152 110.8)
XYZxyz(36.2118, 43.7531, 8.9201)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72C #2F2CB7
analogous
#B7752C #B4B72C #6FB72C
triadic
#B4B72C #2CB4B7 #B72CB4
tetradic
#B4B72C #2CB775 #2F2CB7 #B72C6F
square
#B4B72C #2CB775 #2F2CB7 #B72C6F
split-complementary
#B4B72C #2C6FB7 #752CB7
monochromatic
#535414 #838620 #B4B72C #D1D44C #DEE07E

Accessibility & contrast

On white

2.15
#B4B72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#B4B72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B72C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B72C#FFFFFF#000000##000000
##B4B72C1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF06
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b72c;
/* rgb */ color: rgb(180, 183, 44);
/* oklch */ color: oklch(75.3% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc71',
    500: '#b4b72c',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72c;
$custom-light: #cecc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72c",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 61.295,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7533,
    "c": 0.15217,
    "h": 110.8
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#B4B72C
secondary
#7876C8
accent
#43E447
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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