#B4B234#B4B234

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

Color values

HEX#B4B234
RGBrgb(180, 178, 52)
HSLhsl(59, 55%, 45%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.1%, 71.1%, 29.4%)
CIE-LABlab(70.73, -14.21, 60.97)
CIE-LCHlch(70.73, 62.61, 103.12°)
OKLaboklab(74.28% -0.0453 0.1352)
OKLCHoklch(74.28% 0.143 108.5)
XYZxyz(35.3639, 41.7931, 9.4522)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B234 #3436B4
analogous
#B47234 #B4B234 #76B434
triadic
#B4B234 #34B4B2 #B234B4
tetradic
#B4B234 #34B472 #3436B4 #B43476
square
#B4B234 #34B472 #3436B4 #B43476
split-complementary
#B4B234 #3476B4 #7234B4
monochromatic
#555419 #858326 #B4B234 #CECD57 #DCDB86

Accessibility & contrast

On white

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

On black

9.36
#B4B234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B234
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B234#FFFFFF#000000##000000
##B4B2341.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b234;
/* rgb */ color: rgb(180, 178, 52);
/* oklch */ color: oklch(74.3% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#cec874',
    500: '#b4b234',
    950: '#000000',
  },
}
SCSS
$custom: #b4b234;
$custom-light: #cec874;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b234",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 59.063,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.14257,
    "h": 108.5
  },
  "luminance": 0.41792
}

Semantic roles & 50–950 ramp

primary
#B4B234
secondary
#7E7FC6
accent
#4CDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B234

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

Preview Lab → · Contrast checker → · Palette generator →

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