#B4B03F#B4B03F

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

Color values

HEX#B4B03F
RGBrgb(180, 176, 63)
HSLhsl(58, 48%, 48%)
HSVhsv(58, 65%, 71%)
CMYKcmyk(0%, 2.2%, 65%, 29.4%)
CIE-LABlab(70.26, -12.57, 56.19)
CIE-LCHlch(70.26, 57.58, 102.61°)
OKLaboklab(73.93% -0.0395 0.127)
OKLCHoklch(73.93% 0.133 107.3)
XYZxyz(35.2462, 41.1140, 10.7808)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B03F #3F43B4
analogous
#B4763F #B4B03F #7DB43F
triadic
#B4B03F #3FB4B0 #B03FB4
tetradic
#B4B03F #3FB476 #3F43B4 #B43F7D
square
#B4B03F #3FB476 #3F43B4 #B43F7D
split-complementary
#B4B03F #3F7DB4 #763FB4
monochromatic
#59571F #87842F #B4B03F #CAC667 #DAD794

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B03F#FFFFFF#000000##000000
##B4B03F1.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)
#BEA930
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#C1A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b03f;
/* rgb */ color: rgb(180, 176, 63);
/* oklch */ color: oklch(73.9% 0.133 107.3);
Tailwind
colors: {
  custom: {
    50: '#cdc77a',
    500: '#b4b03f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b03f;
$custom-light: #cdc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b03f",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 57.949,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73925,
    "c": 0.13297,
    "h": 107.3
  },
  "luminance": 0.41113
}

Semantic roles & 50–950 ramp

primary
#B4B03F
secondary
#8A8CC5
accent
#55D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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