#B4B751#B4B751

#B4B751 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.125 H 110.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B4B751
RGBrgb(180, 183, 81)
HSLhsl(62, 41%, 52%)
HSVhsv(62, 56%, 72%)
CMYKcmyk(1.6%, 0%, 55.7%, 28.2%)
CIE-LABlab(72.34, -14.89, 50.54)
CIE-LCHlch(72.34, 52.69, 106.42°)
OKLaboklab(75.64% -0.0441 0.1174)
OKLCHoklch(75.64% 0.125 110.6)
XYZxyz(37.2420, 44.1652, 14.3459)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B751 #5451B7
analogous
#B78751 #B4B751 #81B751
triadic
#B4B751 #51B4B7 #B751B4
tetradic
#B4B751 #51B787 #5451B7 #B75181
square
#B4B751 #51B787 #5451B7 #B75181
split-complementary
#B4B751 #5181B7 #8751B7
monochromatic
#626429 #8D8F3B #B4B751 #C7C97C #D9DBA8

Accessibility & contrast

On white

2.14
#B4B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B4B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B751
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B751#FFFFFF#000000##000000
##B4B7511.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#BFADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b751;
/* rgb */ color: rgb(180, 183, 81);
/* oklch */ color: oklch(75.6% 0.125 110.6);
Tailwind
colors: {
  custom: {
    50: '#cdcc85',
    500: '#b4b751',
    950: '#000000',
  },
}
SCSS
$custom: #b4b751;
$custom-light: #cdcc85;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b751",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 61.765,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75638,
    "c": 0.12542,
    "h": 110.6
  },
  "luminance": 0.44164
}

Semantic roles & 50–950 ramp

primary
#B4B751
secondary
#9D9CC8
accent
#57D15A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4B751

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

Preview Lab → · Contrast checker → · Palette generator →

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