#B4B438#B4B438

#B4B438 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.142 H 109.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B4B438
RGBrgb(180, 180, 56)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0%, 0%, 68.9%, 29.4%)
CIE-LABlab(71.30, -15.02, 60.05)
CIE-LCHlch(71.30, 61.90, 104.05°)
OKLaboklab(74.75% -0.0471 0.134)
OKLCHoklch(74.75% 0.142 109.4)
XYZxyz(35.8587, 42.6324, 10.0806)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B438 #3838B4
analogous
#B47638 #B4B438 #76B438
triadic
#B4B438 #38B4B4 #B438B4
tetradic
#B4B438 #38B476 #3838B4 #B43876
square
#B4B438 #38B476 #3838B4 #B43876
split-complementary
#B4B438 #3876B4 #7638B4
monochromatic
#57571B #858529 #B4B438 #CDCD5D #DBDB8B

Accessibility & contrast

On white

2.20
#B4B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B4B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B438
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B438#FFFFFF#000000##000000
##B4B4381.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#C1A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b438;
/* rgb */ color: rgb(180, 180, 56);
/* oklch */ color: oklch(74.7% 0.142 109.4);
Tailwind
colors: {
  custom: {
    50: '#ceca76',
    500: '#b4b438',
    950: '#000000',
  },
}
SCSS
$custom: #b4b438;
$custom-light: #ceca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b438",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74746,
    "c": 0.14201,
    "h": 109.4
  },
  "luminance": 0.42631
}

Semantic roles & 50–950 ramp

primary
#B4B438
secondary
#8282C5
accent
#4CDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B438

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

Preview Lab → · Contrast checker → · Palette generator →

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