#B4B233#B4B233

#B4B233 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#B4B233
RGBrgb(180, 178, 51)
HSLhsl(59, 56%, 45%)
HSVhsv(59, 72%, 71%)
CMYKcmyk(0%, 1.1%, 71.7%, 29.4%)
CIE-LABlab(70.72, -14.26, 61.33)
CIE-LCHlch(70.72, 62.97, 103.09°)
OKLaboklab(74.27% -0.0455 0.1358)
OKLCHoklch(74.27% 0.143 108.5)
XYZxyz(35.3416, 41.7842, 9.3348)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B233 #3335B4
analogous
#B47233 #B4B233 #75B433
triadic
#B4B233 #33B4B2 #B233B4
tetradic
#B4B233 #33B472 #3335B4 #B43375
square
#B4B233 #33B472 #3335B4 #B43375
split-complementary
#B4B233 #3375B4 #7233B4
monochromatic
#555418 #848325 #B4B233 #CFCD55 #DCDB85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B233#FFFFFF#000000##000000
##B4B2331.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)
#C1AB1C
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b233;
/* rgb */ color: rgb(180, 178, 51);
/* oklch */ color: oklch(74.3% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#cec874',
    500: '#b4b233',
    950: '#000000',
  },
}
SCSS
$custom: #b4b233;
$custom-light: #cec874;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b233",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 59.07,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.1432,
    "h": 108.5
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#B4B233
secondary
#7D7EC6
accent
#4BDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B233

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

Preview Lab → · Contrast checker → · Palette generator →

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