#B4B23A#B4B23A

#B4B23A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.139 H 108.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B4B23A
RGBrgb(180, 178, 58)
HSLhsl(59, 51%, 47%)
HSVhsv(59, 68%, 71%)
CMYKcmyk(0%, 1.1%, 67.8%, 29.4%)
CIE-LABlab(70.77, -13.89, 58.74)
CIE-LCHlch(70.77, 60.36, 103.31°)
OKLaboklab(74.32% -0.0438 0.1315)
OKLCHoklch(74.32% 0.139 108.4)
XYZxyz(35.5078, 41.8507, 10.2097)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B23A #3A3CB4
analogous
#B4753A #B4B23A #79B43A
triadic
#B4B23A #3AB4B2 #B23AB4
tetradic
#B4B23A #3AB475 #3A3CB4 #B43A79
square
#B4B23A #3AB475 #3A3CB4 #B43A79
split-complementary
#B4B23A #3A79B4 #753AB4
monochromatic
#57561C #86842B #B4B23A #CCCA60 #DBD98E

Accessibility & contrast

On white

2.24
#B4B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B4B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B23A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B23A#FFFFFF#000000##000000
##B4B23A1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB28
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b23a;
/* rgb */ color: rgb(180, 178, 58);
/* oklch */ color: oklch(74.3% 0.139 108.4);
Tailwind
colors: {
  custom: {
    50: '#cec877',
    500: '#b4b23a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b23a;
$custom-light: #cec877;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b23a",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 59.016,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.13861,
    "h": 108.4
  },
  "luminance": 0.4185
}

Semantic roles & 50–950 ramp

primary
#B4B23A
secondary
#8586C5
accent
#4FDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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