#B4B03E#B4B03E

#B4B03E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.134 H 107.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B4B03E
RGBrgb(180, 176, 62)
HSLhsl(58, 49%, 47%)
HSVhsv(58, 66%, 71%)
CMYKcmyk(0%, 2.2%, 65.6%, 29.4%)
CIE-LABlab(70.25, -12.63, 56.60)
CIE-LCHlch(70.25, 57.99, 102.58°)
OKLaboklab(73.92% -0.0398 0.1277)
OKLCHoklch(73.92% 0.134 107.3)
XYZxyz(35.2185, 41.1029, 10.6350)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B03E #3E42B4
analogous
#B4753E #B4B03E #7DB43E
triadic
#B4B03E #3EB4B0 #B03EB4
tetradic
#B4B03E #3EB475 #3E42B4 #B43E7D
square
#B4B03E #3EB475 #3E42B4 #B43E7D
split-complementary
#B4B03E #3E7DB4 #753EB4
monochromatic
#59571F #86832E #B4B03E #CAC765 #DAD793

Accessibility & contrast

On white

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

On black

9.22
#B4B03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B03E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B03E#FFFFFF#000000##000000
##B4B03E1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C1A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b03e;
/* rgb */ color: rgb(180, 176, 62);
/* oklch */ color: oklch(73.9% 0.134 107.3);
Tailwind
colors: {
  custom: {
    50: '#cdc779',
    500: '#b4b03e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b03e;
$custom-light: #cdc779;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b03e",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 57.966,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73917,
    "c": 0.13372,
    "h": 107.3
  },
  "luminance": 0.41102
}

Semantic roles & 50–950 ramp

primary
#B4B03E
secondary
#898BC5
accent
#54D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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