#B8B738#B8B738

#B8B738 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.144 H 109.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B8B738
RGBrgb(184, 183, 56)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 70%, 72%)
CMYKcmyk(0%, 0.5%, 69.6%, 27.8%)
CIE-LABlab(72.46, -14.84, 61.30)
CIE-LCHlch(72.46, 63.07, 103.61°)
OKLaboklab(75.75% -0.0469 0.1365)
OKLCHoklch(75.75% 0.144 109)
XYZxyz(37.4158, 44.3440, 10.3289)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B738 #3839B8
analogous
#B87738 #B8B738 #79B838
triadic
#B8B738 #38B8B7 #B738B8
tetradic
#B8B738 #38B877 #3839B8 #B83879
square
#B8B738 #38B877 #3839B8 #B83879
split-complementary
#B8B738 #3879B8 #7738B8
monochromatic
#5A5A1B #89882A #B8B738 #CECD5F #DDDC8E

Accessibility & contrast

On white

2.13
#B8B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B8B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B738
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B738#FFFFFF#000000##000000
##B8B7381.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF23
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#C5AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b8b738;
/* rgb */ color: rgb(184, 183, 56);
/* oklch */ color: oklch(75.7% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#d1cc77',
    500: '#b8b738',
    950: '#000000',
  },
}
SCSS
$custom: #b8b738;
$custom-light: #d1cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b738",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 59.531,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.14428,
    "h": 109
  },
  "luminance": 0.44343
}

Semantic roles & 50–950 ramp

primary
#B8B738
secondary
#8585C7
accent
#4CDD4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B738

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

Preview Lab → · Contrast checker → · Palette generator →

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