#B4B738#B4B738

#B4B738 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.145 H 110.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B4B738
RGBrgb(180, 183, 56)
HSLhsl(61, 53%, 47%)
HSVhsv(61, 69%, 72%)
CMYKcmyk(1.6%, 0%, 69.4%, 28.2%)
CIE-LABlab(72.13, -16.55, 60.87)
CIE-LCHlch(72.13, 63.08, 105.21°)
OKLaboklab(75.41% -0.0514 0.1357)
OKLCHoklch(75.41% 0.145 110.8)
XYZxyz(36.4709, 43.8568, 10.2846)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B738 #3B38B7
analogous
#B77A38 #B4B738 #75B738
triadic
#B4B738 #38B4B7 #B738B4
tetradic
#B4B738 #38B77A #3B38B7 #B73875
square
#B4B738 #38B77A #3B38B7 #B73875
split-complementary
#B4B738 #3875B7 #7A38B7
monochromatic
#58591B #86882A #B4B738 #CBCE5E #DADC8D

Accessibility & contrast

On white

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

On black

9.77
#B4B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B738
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B738#FFFFFF#000000##000000
##B4B7381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#C0AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b738;
/* rgb */ color: rgb(180, 183, 56);
/* oklch */ color: oklch(75.4% 0.145 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc77',
    500: '#b4b738',
    950: '#000000',
  },
}
SCSS
$custom: #b4b738;
$custom-light: #cecc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b738",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 61.417,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75408,
    "c": 0.1451,
    "h": 110.8
  },
  "luminance": 0.43856
}

Semantic roles & 50–950 ramp

primary
#B4B738
secondary
#8684C7
accent
#4BDD4F
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B738

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

Preview Lab → · Contrast checker → · Palette generator →

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