#B4B038#B4B038

#B4B038 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.138 H 107.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B4B038
RGBrgb(180, 176, 56)
HSLhsl(58, 53%, 46%)
HSVhsv(58, 69%, 71%)
CMYKcmyk(0%, 2.2%, 68.9%, 29.4%)
CIE-LABlab(70.20, -12.97, 58.95)
CIE-LCHlch(70.20, 60.36, 102.41°)
OKLaboklab(73.87% -0.0414 0.1316)
OKLCHoklch(73.87% 0.138 107.5)
XYZxyz(35.0628, 41.0406, 9.8153)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B038 #383CB4
analogous
#B47238 #B4B038 #7AB438
triadic
#B4B038 #38B4B0 #B038B4
tetradic
#B4B038 #38B472 #383CB4 #B4387A
square
#B4B038 #38B472 #383CB4 #B4387A
split-complementary
#B4B038 #387AB4 #7238B4
monochromatic
#57551B #858229 #B4B038 #CDC95D #DBD88B

Accessibility & contrast

On white

2.28
#B4B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B4B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B038
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B038#FFFFFF#000000##000000
##B4B0381.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA926
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#C1A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b038;
/* rgb */ color: rgb(180, 176, 56);
/* oklch */ color: oklch(73.9% 0.138 107.5);
Tailwind
colors: {
  custom: {
    50: '#cec776',
    500: '#b4b038',
    950: '#000000',
  },
}
SCSS
$custom: #b4b038;
$custom-light: #cec776;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b038",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 58.065,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73868,
    "c": 0.13798,
    "h": 107.5
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

primary
#B4B038
secondary
#8285C5
accent
#50DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B038

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

Preview Lab → · Contrast checker → · Palette generator →

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